Enum CommandTransition

    • Enum Constant Detail

      • SUCCESS

        public static final CommandTransition SUCCESS
        Transition for an execute Method. State can be: SUCCESS : Execution was Successfully done. Used for Command-Mode DONE : For CoR: The work is successfully done, the chain can be aborted. NEXT : For CoR: The work is not done, next chain should overtake. FAILURE : An fatal error has occurred. The chain should be aborted
    • Method Detail

      • values

        public static CommandTransition[] 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 (CommandTransition c : CommandTransition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CommandTransition 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