public enum FileCreationState extends java.lang.Enum<FileCreationState>
FileCreationState provides constants for the file creation state| Enum Constant and Description |
|---|
ALREADY_EXISTS
This state signals that the file already exists
|
CREATED
This state signals that the file was created
|
FAILED
This state signals that the file creation failed
|
PENDING
This state signals that the file creation is pending
|
| Modifier and Type | Method and Description |
|---|---|
static FileCreationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileCreationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileCreationState ALREADY_EXISTS
public static final FileCreationState CREATED
public static final FileCreationState FAILED
public static final FileCreationState PENDING
public static FileCreationState[] values()
for (FileCreationState c : FileCreationState.values()) System.out.println(c);
public static FileCreationState 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 namejava.lang.NullPointerException - if the argument is null