Package cdc.util.cli
Enum AbstractMainSupport.ExceptionThrowing
- java.lang.Object
-
- java.lang.Enum<AbstractMainSupport.ExceptionThrowing>
-
- cdc.util.cli.AbstractMainSupport.ExceptionThrowing
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractMainSupport.ExceptionThrowing>
- Enclosing class:
- AbstractMainSupport<A,R>
public static enum AbstractMainSupport.ExceptionThrowing extends Enum<AbstractMainSupport.ExceptionThrowing>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND_LINE_AND_EXECUTIONEXECUTIONNEVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatchesCommandLine()booleanmatchesExecution()static AbstractMainSupport.ExceptionThrowingvalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractMainSupport.ExceptionThrowing[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final AbstractMainSupport.ExceptionThrowing NEVER
-
EXECUTION
public static final AbstractMainSupport.ExceptionThrowing EXECUTION
-
COMMAND_LINE_AND_EXECUTION
public static final AbstractMainSupport.ExceptionThrowing COMMAND_LINE_AND_EXECUTION
-
-
Method Detail
-
values
public static AbstractMainSupport.ExceptionThrowing[] 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.ExceptionThrowing c : AbstractMainSupport.ExceptionThrowing.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.ExceptionThrowing 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
-
matchesExecution
public boolean matchesExecution()
-
matchesCommandLine
public boolean matchesCommandLine()
-
-