Package com.cloudforgeci.api.core.rules
Enum Class ComplianceMatrix.RequirementLevel
java.lang.Object
java.lang.Enum<ComplianceMatrix.RequirementLevel>
com.cloudforgeci.api.core.rules.ComplianceMatrix.RequirementLevel
- All Implemented Interfaces:
Serializable,Comparable<ComplianceMatrix.RequirementLevel>,Constable
- Enclosing class:
ComplianceMatrix
public static enum ComplianceMatrix.RequirementLevel
extends Enum<ComplianceMatrix.RequirementLevel>
Requirement enforcement level for a control within a compliance framework.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRecommended but not mandatory - always advisory regardless of modeNot applicable to this frameworkMust be implemented - enforced in ENFORCE mode, warnings in ADVISORY mode -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ComplianceMatrix.RequirementLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REQUIRED
Must be implemented - enforced in ENFORCE mode, warnings in ADVISORY mode -
ADVISORY
Recommended but not mandatory - always advisory regardless of mode -
NOT_APPLICABLE
Not applicable to this framework
-
-
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
-