Enum Class ContainerRole

java.lang.Object
java.lang.Enum<ContainerRole>
ch.nolix.systemapi.webcontainercontrol.container.ContainerRole
All Implemented Interfaces:
Serializable, Comparable<ContainerRole>, Constable

public enum ContainerRole extends Enum<ContainerRole>
Author:
Silvan Wyss
  • Enum Constant Details

    • DIALOG_CONTAINER

      public static final ContainerRole DIALOG_CONTAINER
    • OVERALL_CONTAINER

      public static final ContainerRole OVERALL_CONTAINER
    • MAIN_CONTENT_CONTAINER

      public static final ContainerRole MAIN_CONTENT_CONTAINER
    • HEADER_CONTAINER

      public static final ContainerRole HEADER_CONTAINER
    • COMPONENT_CONTAINER

      public static final ContainerRole COMPONENT_CONTAINER
    • TITLE_CONTAINER

      public static final ContainerRole TITLE_CONTAINER
  • Method Details

    • values

      public static ContainerRole[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ContainerRole valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromSpecification

      public static ContainerRole fromSpecification(INode<?> specification)
      Parameters:
      specification -
      Returns:
      a new ContainerRole from the given specification.
      Throws:
      RuntimeException - if the given specification does not represent a ContainerRole.