Package org.kie.server.api.model.dmn
Enum DMNMessageKS.DMNMessageSeverityKS
- java.lang.Object
-
- java.lang.Enum<DMNMessageKS.DMNMessageSeverityKS>
-
- org.kie.server.api.model.dmn.DMNMessageKS.DMNMessageSeverityKS
-
- All Implemented Interfaces:
Serializable
,Comparable<DMNMessageKS.DMNMessageSeverityKS>
- Enclosing class:
- DMNMessageKS
public static enum DMNMessageKS.DMNMessageSeverityKS extends Enum<DMNMessageKS.DMNMessageSeverityKS>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.dmn.api.core.DMNMessage.Severity
asSeverity()
static DMNMessageKS.DMNMessageSeverityKS
of(org.kie.dmn.api.core.DMNMessage.Severity value)
static DMNMessageKS.DMNMessageSeverityKS
valueOf(String name)
Returns the enum constant of this type with the specified name.static DMNMessageKS.DMNMessageSeverityKS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
@Deprecated public static final DMNMessageKS.DMNMessageSeverityKS TRACE
Deprecated.useINFO
level.
-
INFO
public static final DMNMessageKS.DMNMessageSeverityKS INFO
-
WARN
public static final DMNMessageKS.DMNMessageSeverityKS WARN
-
ERROR
public static final DMNMessageKS.DMNMessageSeverityKS ERROR
-
-
Method Detail
-
values
public static DMNMessageKS.DMNMessageSeverityKS[] 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 (DMNMessageKS.DMNMessageSeverityKS c : DMNMessageKS.DMNMessageSeverityKS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DMNMessageKS.DMNMessageSeverityKS 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
-
of
public static DMNMessageKS.DMNMessageSeverityKS of(org.kie.dmn.api.core.DMNMessage.Severity value)
-
asSeverity
public org.kie.dmn.api.core.DMNMessage.Severity asSeverity()
-
-