Enum Class ControlStatus

java.lang.Object
java.lang.Enum<ControlStatus>
org.bigraphs.framework.core.ControlStatus
All Implemented Interfaces:
Serializable, Comparable<ControlStatus>, Constable

public enum ControlStatus extends Enum<ControlStatus>
Enum that represents the kind/status of a control.
Author:
Dominik Grzelak
  • Enum Constant Details

  • Method Details

    • values

      public static ControlStatus[] 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 ControlStatus 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
    • isAtomic

      public static boolean isAtomic(Control control)
      Returns true if the control is atomic, meaning, that nothing may be nested within a node incorporating this control.
      Parameters:
      control - the control to check
      Returns:
      if the control is atomic, otherwise false
    • isActive

      public static boolean isActive(Control control)
    • fromString

      public static ControlStatus fromString(String value)