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 SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeMessage.SourcevalueOf(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- 
UNKNOWNpublic static final RuntimeMessage.Source UNKNOWN 
 - 
DEPLOYMENTpublic static final RuntimeMessage.Source DEPLOYMENT 
 - 
CONFIGpublic static final RuntimeMessage.Source CONFIG 
 - 
BUNDLEpublic static final RuntimeMessage.Source BUNDLE 
 - 
COMPONENTpublic static final RuntimeMessage.Source COMPONENT 
 - 
EXTENSIONpublic static final RuntimeMessage.Source EXTENSION 
 - 
CODEpublic static final RuntimeMessage.Source CODE 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-