Package org.yamcs.xtce
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.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandVerifier.TerminationActionvalueOf(String name)Returns the enum constant of this type with the specified name.static CommandVerifier.TerminationAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final CommandVerifier.TerminationAction SUCCESS
-
FAIL
public static final CommandVerifier.TerminationAction FAIL
-
-
Method Detail
-
values
public static CommandVerifier.TerminationAction[] 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 (CommandVerifier.TerminationAction c : CommandVerifier.TerminationAction.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
-