Package cdc.util.cli
Enum AbstractMainSupport.Result
- java.lang.Object
-
- java.lang.Enum<AbstractMainSupport.Result>
-
- cdc.util.cli.AbstractMainSupport.Result
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractMainSupport.Result>
- Enclosing class:
- AbstractMainSupport<A,R>
public static enum AbstractMainSupport.Result extends Enum<AbstractMainSupport.Result>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND_LINE_ERROREXECUTION_ERRORSUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractMainSupport.ResultvalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractMainSupport.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMAND_LINE_ERROR
public static final AbstractMainSupport.Result COMMAND_LINE_ERROR
-
EXECUTION_ERROR
public static final AbstractMainSupport.Result EXECUTION_ERROR
-
SUCCESS
public static final AbstractMainSupport.Result SUCCESS
-
-
Method Detail
-
values
public static AbstractMainSupport.Result[] 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 (AbstractMainSupport.Result c : AbstractMainSupport.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractMainSupport.Result 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
-
-