Enum Flags

    • Enum Constant Detail

      • 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 Detail

      • values

        public static Flags[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Flags c : Flags.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Flags valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null