@Deprecated public static enum File.Action extends java.lang.Enum<File.Action>
Enum Constant and Description |
---|
MOVE_TO_PRIMARY
Deprecated.
The file should be brought back from secondary storage.
|
MOVE_TO_SECONDARY
Deprecated.
The file should be moved to secondary storage
|
NOTHING
Deprecated.
Do nothing.
|
Modifier and Type | Field and Description |
---|---|
private int |
value
Deprecated.
The integer value of this fileaction.
|
private static java.util.Map<java.lang.Integer,File.Action> |
valueMapping
Deprecated.
Maps the integer that is stored in the database with an fileaction.
|
Modifier and Type | Method and Description |
---|---|
static File.Action |
fromValue(int value)
Deprecated.
Get the
File.Action object when you know the integer code. |
int |
getValue()
Deprecated.
Get the integer value that is used when storing an File.Action to the database.
|
static File.Action |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static File.Action[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final File.Action NOTHING
public static final File.Action MOVE_TO_PRIMARY
public static final File.Action MOVE_TO_SECONDARY
private static final java.util.Map<java.lang.Integer,File.Action> valueMapping
private final int value
public static File.Action[] values()
for (File.Action c : File.Action.values()) System.out.println(c);
public static File.Action 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 nullpublic static File.Action fromValue(int value)
File.Action
object when you know the integer code.value
- The integer value.public int getValue()