|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProcessingType> com.jalios.jcms.fileprocessor.processingmanagement.ProcessingType
public enum ProcessingType
Descripbe the processing being performed : processing or indexing.
Enum Constant Summary | |
---|---|
PARSING
|
|
PROCESSING
|
|
UNKNOWN
|
Method Summary | |
---|---|
static ProcessingType |
get(int code)
Retrieve the ProcessingType corresponding to the specified code |
int |
getCode()
Retrieve an internal and unique integer for this ProcessingType, suitable for serialization |
static ProcessingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProcessingType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProcessingType UNKNOWN
public static final ProcessingType PROCESSING
public static final ProcessingType PARSING
Method Detail |
---|
public static ProcessingType[] values()
for (ProcessingType c : ProcessingType.values()) System.out.println(c);
public static ProcessingType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ProcessingType get(int code)
code
- the interger value as returned by getCode()
UNKNOWN
if none could be found for the specified code.public int getCode()
get(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |