Enum ArchivingStatus
- java.lang.Object
-
- java.lang.Enum<ArchivingStatus>
-
- ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.ArchivingStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ArchivingStatus>
@JsonObject("as.dto.dataset.ArchivingStatus") public enum ArchivingStatus extends java.lang.Enum<ArchivingStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE_PENDING
ARCHIVED
AVAILABLE
BACKUP_PENDING
LOCKED
UNARCHIVE_PENDING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArchivingStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ArchivingStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final ArchivingStatus AVAILABLE
-
LOCKED
public static final ArchivingStatus LOCKED
-
ARCHIVED
public static final ArchivingStatus ARCHIVED
-
UNARCHIVE_PENDING
public static final ArchivingStatus UNARCHIVE_PENDING
-
ARCHIVE_PENDING
public static final ArchivingStatus ARCHIVE_PENDING
-
BACKUP_PENDING
public static final ArchivingStatus BACKUP_PENDING
-
-
Method Detail
-
values
public static ArchivingStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ArchivingStatus c : ArchivingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArchivingStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-