Package de.xima.fc.mdl
Enum FCMessage.ESeverity
- java.lang.Object
-
- java.lang.Enum<FCMessage.ESeverity>
-
- de.xima.fc.mdl.FCMessage.ESeverity
-
- All Implemented Interfaces:
Serializable
,Comparable<FCMessage.ESeverity>
- Enclosing class:
- FCMessage
public static enum FCMessage.ESeverity extends Enum<FCMessage.ESeverity>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FCMessage.ESeverity
convert(javax.faces.application.FacesMessage.Severity severity)
static FCMessage.ESeverity
valueOf(String name)
Returns the enum constant of this type with the specified name.static FCMessage.ESeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARN
public static final FCMessage.ESeverity WARN
-
ERROR
public static final FCMessage.ESeverity ERROR
-
INFO
public static final FCMessage.ESeverity INFO
-
-
Method Detail
-
values
public static FCMessage.ESeverity[] 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 (FCMessage.ESeverity c : FCMessage.ESeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FCMessage.ESeverity 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
-
convert
public static FCMessage.ESeverity convert(javax.faces.application.FacesMessage.Severity severity)
-
-