|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FileListStatus> dk.netarkivet.archive.arcrepositoryadmin.FileListStatus
public enum FileListStatus
The status for the file list updates. This is used by the DatabaseBasedActiveBitPreservation.
Enum Constant Summary | |
---|---|
MISSING
If the file is missing from a file list or a checksum list. |
|
NO_FILELIST_STATUS
If the status has not been defined. |
|
OK
If the file has the correct checksum. |
Method Summary | |
---|---|
static FileListStatus |
fromOrdinal(int status)
Method to retrieve the FileListStatus based on an integer. |
static FileListStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FileListStatus[] |
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 FileListStatus NO_FILELIST_STATUS
public static final FileListStatus MISSING
public static final FileListStatus OK
Method Detail |
---|
public static FileListStatus[] values()
for (FileListStatus c : FileListStatus.values()) System.out.println(c);
public static FileListStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FileListStatus fromOrdinal(int status) throws ArgumentNotValid
status
- A specific integer for the upload status
ArgumentNotValid
- If argument rt does not correspond
to a UploadStatus.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |