TrueUpdate Manager Specification 0.4

net.java.trueupdate.manager.spec
Enum Action

java.lang.Object
  extended by java.lang.Enum<Action>
      extended by 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

Enum Constant Summary
DEPLOY
           
DOWNLOAD
           
PATCH
           
SWAP_IN_DIR
           
SWAP_IN_FILE
           
SWAP_OUT_DIR
           
SWAP_OUT_FILE
           
UNDEPLOY
           
UNZIP
           
ZIP
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

TrueUpdate Manager Specification 0.4

Copyright © 2013 Schlichtherle IT Services. All rights reserved.