Package de.xima.fc.workflow.taglib.data
Enum EFacesMessageSeverity
- java.lang.Object
-
- java.lang.Enum<EFacesMessageSeverity>
-
- de.xima.fc.workflow.taglib.data.EFacesMessageSeverity
-
- All Implemented Interfaces:
Serializable
,Comparable<EFacesMessageSeverity>
public enum EFacesMessageSeverity extends Enum<EFacesMessageSeverity>
Serializable wrapper for aFacesMessage
FacesMessage.Severity
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Represents the faces message severityFacesMessage.SEVERITY_ERROR
.FATAL
Represents the faces message severityFacesMessage.SEVERITY_FATAL
.INFO
Represents the faces message severityFacesMessage.SEVERITY_INFO
.WARN
Represents the faces message severityFacesMessage.SEVERITY_WARN
.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract javax.faces.application.FacesMessage.Severity
getFacesMessageSeverity()
static EFacesMessageSeverity
ofFacesMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
static EFacesMessageSeverity
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFacesMessageSeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final EFacesMessageSeverity ERROR
Represents the faces message severityFacesMessage.SEVERITY_ERROR
.
-
FATAL
public static final EFacesMessageSeverity FATAL
Represents the faces message severityFacesMessage.SEVERITY_FATAL
.
-
INFO
public static final EFacesMessageSeverity INFO
Represents the faces message severityFacesMessage.SEVERITY_INFO
.
-
WARN
public static final EFacesMessageSeverity WARN
Represents the faces message severityFacesMessage.SEVERITY_WARN
.
-
-
Method Detail
-
values
public static EFacesMessageSeverity[] 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 (EFacesMessageSeverity c : EFacesMessageSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFacesMessageSeverity 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
-
getFacesMessageSeverity
public abstract javax.faces.application.FacesMessage.Severity getFacesMessageSeverity()
- Returns:
- The instance of
FacesMessage.Severity
represented by this instance.
-
ofFacesMessageSeverity
public static EFacesMessageSeverity ofFacesMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
- Parameters:
severity
- A faces message severity.- Returns:
- The corresponding instance of this enum, or
null
if the given severity isnull
.
-
-