Package com.github.ambry.account
Enum Container.ContainerStatus
- java.lang.Object
-
- java.lang.Enum<Container.ContainerStatus>
-
- com.github.ambry.account.Container.ContainerStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Container.ContainerStatus>
- Enclosing class:
- Container
public static enum Container.ContainerStatus extends java.lang.Enum<Container.ContainerStatus>
Status of the container.ACTIVE
means this container is in operational state,INACTIVE
means the container has been deactivated, andDELETE_IN_PROGRESS
means blobs in this container are being deleted and no active ACL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
DELETE_IN_PROGRESS
INACTIVE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Container.ContainerStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Container.ContainerStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final Container.ContainerStatus ACTIVE
-
INACTIVE
public static final Container.ContainerStatus INACTIVE
-
DELETE_IN_PROGRESS
public static final Container.ContainerStatus DELETE_IN_PROGRESS
-
-
Method Detail
-
values
public static Container.ContainerStatus[] 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 (Container.ContainerStatus c : Container.ContainerStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Container.ContainerStatus 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
-
-