public enum FileListStatus extends Enum<FileListStatus>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static FileListStatus |
fromOrdinal(int status)
Method to retrieve the FileListStatus based on an integer.
|
static FileListStatus |
valueOf(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.
|
public static final FileListStatus NO_FILELIST_STATUS
public static final FileListStatus MISSING
public static final FileListStatus OK
public static FileListStatus[] values()
for (FileListStatus c : FileListStatus.values()) System.out.println(c);
public static FileListStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FileListStatus fromOrdinal(int status) throws ArgumentNotValid
status
- A specific integer for the upload statusArgumentNotValid
- If argument rt does not correspond to a UploadStatus.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.