Interface ILayerValidator

All Known Implementing Classes:
LayerValidator

public interface ILayerValidator
Author:
Silvan Wyss
  • Method Details

    • assertBelongsToGui

      void assertBelongsToGui(ILayer<?> layer)
      Parameters:
      layer -
      Throws:
      RuntimeException - if the given layer is null.
      RuntimeException - if the given layer does not belong to a GUI.
    • assertDoesNotBelongToGui

      void assertDoesNotBelongToGui(ILayer<?> layer)
      Parameters:
      layer -
      Throws:
      RuntimeException - if the given layer is null.
      RuntimeException - if the given layer belongs to a GUI.