Enum CommandVerifier.TerminationAction

java.lang.Object
java.lang.Enum<CommandVerifier.TerminationAction>
org.yamcs.xtce.CommandVerifier.TerminationAction
All Implemented Interfaces:
Serializable, Comparable<CommandVerifier.TerminationAction>
Enclosing class:
CommandVerifier

public static enum CommandVerifier.TerminationAction extends Enum<CommandVerifier.TerminationAction>
what can happen when the verification finishes XTCE does not specify very well, just that each verifier returns true or false. We acknowledge the fact that the verifier can also timeout and define three TerminationAction for the three outcomes: true, false or timeout.
  • Enum Constant Details

  • Method Details

    • values

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

      public static CommandVerifier.TerminationAction 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