Package ch.mobi.mobitor.domain.screen
Enum Class RuleEvaluationSeverity
- All Implemented Interfaces:
Serializable,Comparable<RuleEvaluationSeverity>,Constable
Used to evaluate the conformity of a pipeline.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe pipeline is "red" because there are rule violations.Everything is okay.The state of the pipeline is good enough. -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleEvaluationSeverityReturns the enum constant of this class with the specified name.static RuleEvaluationSeverity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTAINS_ERRORS
The pipeline is "red" because there are rule violations. -
WARNINGS_ONLY
The state of the pipeline is good enough. -
TROPHY
Everything is okay. No rule violations and no warnings.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-