Package yapion.hierarchy.validators
Enum ValidatorCluster.ClusterMode
- java.lang.Object
-
- java.lang.Enum<ValidatorCluster.ClusterMode>
-
- yapion.hierarchy.validators.ValidatorCluster.ClusterMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValidatorCluster.ClusterMode>
,java.lang.constant.Constable
- Enclosing class:
- ValidatorCluster
public static enum ValidatorCluster.ClusterMode extends java.lang.Enum<ValidatorCluster.ClusterMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_VALID
If all are valid.ANY_VALID
If one or more are valid.LEAST_VALID
If at least the inputted number are valid.MOST_VALID
If at most the inputted number are valid.NONE_VALID
If none are valid.SPECIFIC_VALID
If n are valid.
-
Method Summary
Modifier and Type Method Description static ValidatorCluster.ClusterMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValidatorCluster.ClusterMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY_VALID
public static final ValidatorCluster.ClusterMode ANY_VALID
If one or more are valid.
-
ALL_VALID
public static final ValidatorCluster.ClusterMode ALL_VALID
If all are valid.
-
LEAST_VALID
public static final ValidatorCluster.ClusterMode LEAST_VALID
If at least the inputted number are valid.
-
MOST_VALID
public static final ValidatorCluster.ClusterMode MOST_VALID
If at most the inputted number are valid.
-
SPECIFIC_VALID
public static final ValidatorCluster.ClusterMode SPECIFIC_VALID
If n are valid.
-
NONE_VALID
public static final ValidatorCluster.ClusterMode NONE_VALID
If none are valid.
-
-
Method Detail
-
values
public static ValidatorCluster.ClusterMode[] 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 ValidatorCluster.ClusterMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-