Package org.cytoscape.work
Enum TunableValidator.ValidationState
- java.lang.Object
-
- java.lang.Enum<TunableValidator.ValidationState>
-
- org.cytoscape.work.TunableValidator.ValidationState
-
- All Implemented Interfaces:
Serializable
,Comparable<TunableValidator.ValidationState>
- Enclosing interface:
- TunableValidator
public static enum TunableValidator.ValidationState extends Enum<TunableValidator.ValidationState>
The states the the validator can return.
Cytoscape Backwards Compatibility (Enum): This class is an enum therefore can't be extended by users. This means that we may add methods or enum values for minor version updates. Methods or enum values will only be removed for major version updates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
The input is invalid.OK
The input is valid.REQUEST_CONFIRMATION
Request confirmation from the user.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TunableValidator.ValidationState
valueOf(String name)
Returns the enum constant of this type with the specified name.static TunableValidator.ValidationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final TunableValidator.ValidationState INVALID
The input is invalid.
-
OK
public static final TunableValidator.ValidationState OK
The input is valid.
-
REQUEST_CONFIRMATION
public static final TunableValidator.ValidationState REQUEST_CONFIRMATION
Request confirmation from the user.
-
-
Method Detail
-
values
public static TunableValidator.ValidationState[] 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 (TunableValidator.ValidationState c : TunableValidator.ValidationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TunableValidator.ValidationState 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
-
-