Package org.corpus_tools.pepper.common
Enum ModuleFitness.Fitness
- java.lang.Object
-
- java.lang.Enum<ModuleFitness.Fitness>
-
- org.corpus_tools.pepper.common.ModuleFitness.Fitness
-
- All Implemented Interfaces:
Serializable,Comparable<ModuleFitness.Fitness>
- Enclosing class:
- ModuleFitness
public static enum ModuleFitness.Fitness extends Enum<ModuleFitness.Fitness>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRITICALAn entire module or single feature is absolutely unfit, so some problems are detected, when a module is critical, than it is not healthy.FITAn entire module or single feature is absolutely fit, so no problems are detectedHEALTHYOnly used for overall fitness of a module rather than for a single value and means, the health features are ok, but fitness features aren't
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModuleFitness.FitnessvalueOf(String name)Returns the enum constant of this type with the specified name.static ModuleFitness.Fitness[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIT
public static final ModuleFitness.Fitness FIT
An entire module or single feature is absolutely fit, so no problems are detected
-
HEALTHY
public static final ModuleFitness.Fitness HEALTHY
Only used for overall fitness of a module rather than for a single value and means, the health features are ok, but fitness features aren't
-
CRITICAL
public static final ModuleFitness.Fitness CRITICAL
An entire module or single feature is absolutely unfit, so some problems are detected, when a module is critical, than it is not healthy.
-
-
Method Detail
-
values
public static ModuleFitness.Fitness[] 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 (ModuleFitness.Fitness c : ModuleFitness.Fitness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleFitness.Fitness 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
-
-