Package de.consist.bmu.rule
Enum RuleSetResult.Status
- java.lang.Object
-
- java.lang.Enum<RuleSetResult.Status>
-
- de.consist.bmu.rule.RuleSetResult.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RuleSetResult.Status>
- Enclosing interface:
- RuleSetResult
public static enum RuleSetResult.Status extends java.lang.Enum<RuleSetResult.Status>
Enumeration der moeglichen Stati nach einer Pruefung.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OK
PARSE_ERROR
SCHEMA_ERROR
SIGNATURE_ERROR
SIGNATURES_NOT_VERIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleSetResult.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RuleSetResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSE_ERROR
public static final RuleSetResult.Status PARSE_ERROR
-
SCHEMA_ERROR
public static final RuleSetResult.Status SCHEMA_ERROR
-
SIGNATURE_ERROR
public static final RuleSetResult.Status SIGNATURE_ERROR
-
SIGNATURES_NOT_VERIFIED
public static final RuleSetResult.Status SIGNATURES_NOT_VERIFIED
-
OK
public static final RuleSetResult.Status OK
-
-
Method Detail
-
values
public static RuleSetResult.Status[] 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 (RuleSetResult.Status c : RuleSetResult.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleSetResult.Status 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
-
-