|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BitArchiveStoreState>
dk.netarkivet.common.distribute.arcrepository.BitArchiveStoreState
public enum BitArchiveStoreState
This class encapsulates the different upload states, while storing a file in the bitarchive. Used by the classes ArcRepository, AdminData, and ArcRepositoryEntry.
ArcRepository
,
AdminData
,
ArcRepositoryEntry
Enum Constant Summary | |
---|---|
DATA_UPLOADED
Data has been successfully uploaded to a bitarchive. |
|
UPLOAD_COMPLETED
Upload to bitarchive completed, which means that it has been verified by a checksumJob. |
|
UPLOAD_FAILED
Upload to bitarchive has failed. |
|
UPLOAD_STARTED
Upload to a bitarchive has started. |
Method Summary | |
---|---|
static BitArchiveStoreState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BitArchiveStoreState[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BitArchiveStoreState UPLOAD_STARTED
public static final BitArchiveStoreState DATA_UPLOADED
public static final BitArchiveStoreState UPLOAD_COMPLETED
public static final BitArchiveStoreState UPLOAD_FAILED
Method Detail |
---|
public static final BitArchiveStoreState[] values()
for(BitArchiveStoreState c : BitArchiveStoreState.values()) System.out.println(c);
public static BitArchiveStoreState 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |