Enum IgnoredRule.IgnoredReason
- java.lang.Object
-
- java.lang.Enum<IgnoredRule.IgnoredReason>
-
- io.openraven.magpie.plugins.policy.output.csv.analysis.IgnoredRule.IgnoredReason
-
- All Implemented Interfaces:
Serializable,Comparable<IgnoredRule.IgnoredReason>
- Enclosing class:
- IgnoredRule
public static enum IgnoredRule.IgnoredReason extends Enum<IgnoredRule.IgnoredReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDMANUAL_CONTROLMISSING_ASSET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetReason()static IgnoredRule.IgnoredReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static IgnoredRule.IgnoredReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final IgnoredRule.IgnoredReason DISABLED
-
MISSING_ASSET
public static final IgnoredRule.IgnoredReason MISSING_ASSET
-
MANUAL_CONTROL
public static final IgnoredRule.IgnoredReason MANUAL_CONTROL
-
-
Method Detail
-
values
public static IgnoredRule.IgnoredReason[] 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 (IgnoredRule.IgnoredReason c : IgnoredRule.IgnoredReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IgnoredRule.IgnoredReason 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
-
getReason
public String getReason()
-
-