Enum Class Flags

java.lang.Object
java.lang.Enum<Flags>
org.opentrafficsim.trafficcontrol.trafcod.Flags
All Implemented Interfaces:
Serializable, Comparable<Flags>, Constable

enum Flags extends Enum<Flags>
Flags of a TrafCOD variable.
  • Enum Constant Details

    • START

      public static final Flags START
      Variable becomes active.
    • END

      public static final Flags END
      Variable becomes inactive.
    • TIMEREXPIRED

      public static final Flags TIMEREXPIRED
      Timer has just expired.
    • CHANGED

      public static final Flags CHANGED
      Variable has just changed value.
    • IS_TIMER

      public static final Flags IS_TIMER
      Variable is a timer.
    • IS_DETECTOR

      public static final Flags IS_DETECTOR
      Variable is a detector.
    • HAS_START_RULE

      public static final Flags HAS_START_RULE
      Variable has a start rule.
    • HAS_END_RULE

      public static final Flags HAS_END_RULE
      Variable has an end rule.
    • IS_OUTPUT

      public static final Flags IS_OUTPUT
      Variable is an output.
    • INITED

      public static final Flags INITED
      Variable must be initialized to 1 at start of control program.
    • TRACED

      public static final Flags TRACED
      Variable is traced; all changes must be printed.
    • CONFLICT_GROUP

      public static final Flags CONFLICT_GROUP
      Variable identifies the currently active conflict group.
  • Method Details

    • values

      public static Flags[] 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 Flags 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