Package org.nuxeo.runtime
Enum RuntimeMessage.Source
- java.lang.Object
-
- java.lang.Enum<RuntimeMessage.Source>
-
- org.nuxeo.runtime.RuntimeMessage.Source
-
- All Implemented Interfaces:
Serializable
,Comparable<RuntimeMessage.Source>
- Enclosing class:
- RuntimeMessage
public static enum RuntimeMessage.Source extends Enum<RuntimeMessage.Source>
The type of source that produced a message.Useful to track errors on components, extension, etc...
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeMessage.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuntimeMessage.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final RuntimeMessage.Source UNKNOWN
-
DEPLOYMENT
public static final RuntimeMessage.Source DEPLOYMENT
-
CONFIG
public static final RuntimeMessage.Source CONFIG
-
BUNDLE
public static final RuntimeMessage.Source BUNDLE
-
COMPONENT
public static final RuntimeMessage.Source COMPONENT
-
EXTENSION
public static final RuntimeMessage.Source EXTENSION
-
CODE
public static final RuntimeMessage.Source CODE
-
-
Method Detail
-
values
public static RuntimeMessage.Source[] 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 (RuntimeMessage.Source c : RuntimeMessage.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuntimeMessage.Source 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
-
-