|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProcessingStatus> com.jalios.jcms.fileprocessor.processingmanagement.ProcessingStatus
public enum ProcessingStatus
Processing and Indexing status
Enum Constant Summary | |
---|---|
DELETED
|
|
ERROR
|
|
GLOBALLY_BLACKLISTED
|
|
IGNORED
|
|
PARTIALLY_BLACKLISTED
|
|
SUCCESSFUL
|
Method Summary | |
---|---|
static ProcessingStatus |
get(int code)
Retrieve the ProcessingStatus corresponding to the specified ProcessingStatus's code |
int |
getCode()
Retrieve an internal and unique integer for this ProcessingStatus, suitable for serialization |
String |
getText(String lang)
Retrieve an I18Ned string describing this ProcessingStatus |
boolean |
isBlacklisted()
Check if this status a blacklisting status (either globally or partially) |
static ProcessingStatus |
mergeStatuses(EnumSet<ProcessingStatus> statuses)
Retrieve the worst status from the specified ones |
static ProcessingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProcessingStatus[] |
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 ProcessingStatus IGNORED
public static final ProcessingStatus SUCCESSFUL
public static final ProcessingStatus DELETED
public static final ProcessingStatus ERROR
public static final ProcessingStatus PARTIALLY_BLACKLISTED
public static final ProcessingStatus GLOBALLY_BLACKLISTED
Method Detail |
---|
public static ProcessingStatus[] values()
for (ProcessingStatus c : ProcessingStatus.values()) System.out.println(c);
public static ProcessingStatus 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 ProcessingStatus get(int code)
code
- the interger value as returned by getCode()
public final int getCode()
get(int)
public final String getText(String lang)
lang
- the ISO-639 language code in which to retrieve the ProcessingStatus description
public final boolean isBlacklisted()
public static ProcessingStatus mergeStatuses(EnumSet<ProcessingStatus> statuses)
statuses
- an set of ProcessingStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |