Interface ILayerValidator
- All Known Implementing Classes:
LayerValidator
public interface ILayerValidator
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertBelongsToGui(ILayer<?> layer) voidassertDoesNotBelongToGui(ILayer<?> layer)
-
Method Details
-
assertBelongsToGui
- Parameters:
layer-- Throws:
RuntimeException- if the given layer is null.RuntimeException- if the given layer does not belong to a GUI.
-
assertDoesNotBelongToGui
- Parameters:
layer-- Throws:
RuntimeException- if the given layer is null.RuntimeException- if the given layer belongs to a GUI.
-