net.java.trueupdate.manager.spec
Enum Action
java.lang.Object
java.lang.Enum<Action>
net.java.trueupdate.manager.spec.Action
- All Implemented Interfaces:
- Serializable, Comparable<Action>
public enum Action
- extends Enum<Action>
Identifiers for the transactions during the update process.
- Author:
- Christian Schlichtherle
|
Method Summary |
String |
key()
Returns the key for the message catalog in the resource bundle for the
class UpdateMessage. |
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DEPLOY
public static final Action DEPLOY
DOWNLOAD
public static final Action DOWNLOAD
PATCH
public static final Action PATCH
SWAP_IN_DIR
public static final Action SWAP_IN_DIR
SWAP_IN_FILE
public static final Action SWAP_IN_FILE
SWAP_OUT_DIR
public static final Action SWAP_OUT_DIR
SWAP_OUT_FILE
public static final Action SWAP_OUT_FILE
UNDEPLOY
public static final Action UNDEPLOY
UNZIP
public static final Action UNZIP
ZIP
public static final Action ZIP
key
public String key()
- Returns the key for the message catalog in the resource bundle for the
class
UpdateMessage.
valueOf
public static Action valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
values
public static Action[] 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 (Action c : Action.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
Copyright © 2013 Schlichtherle IT Services. All rights reserved.