javax.enterprise.deploy.shared

Class ActionType


public class ActionType
extends Object

Enumeration for status actions.

Field Summary

static ActionType
CANCEL
static ActionType
EXECUTE
static ActionType
STOP

Constructor Summary

ActionType(int value)
Creates the action type.

Method Summary

static ActionType
getActionType(int value)
Returns an action of the type.
protected ActionType[]
getEnumValueTable()
Returns the string table for action type.
protected int
getOffset()
Returns the lowest integer value.
protected String[]
getStringTable()
Returns the string table for action type.
int
getValue()
Returns the type.
String
toString()
Returns the string name.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

CANCEL

public static final ActionType CANCEL

EXECUTE

public static final ActionType EXECUTE
Usages and Demos :

View More Examples of EXECUTE
   1: import java.util.logging.Logger;
   2: import javax.enterprise.deploy.shared.ActionType;
   3: import javax.enterprise.deploy.shared.CommandType;
   4:         ...
   5: 
   6:   public ActionType getAction()
   7:   {
   8:         ...
   9:     return ActionType.EXECUTE;
  10:   }

View Full Code Here
   1: 
   2: import javax.enterprise.deploy.shared.ActionType;
   3: import javax.enterprise.deploy.shared.CommandType;
   4:         ...
   5: {
   6:   private final ActionType _action;
   7:   private final CommandType _command;
   8:         ...
   9:   {
  10:     _action = ActionType.EXECUTE;
  11:     _command = command;
  12:         ...
  13: 
  14:   public ActionType getAction()

View Full Code Here
   1: import javax.enterprise.deploy.shared.CommandType;
   2: import javax.enterprise.deploy.shared.ActionType;
   3: import java.io.Serializable;
   4:         ...
   5: 
   6:   public ActionType getAction()
   7:   {
   8:         ...
   9:     return ActionType.EXECUTE;
  10:   }

View Full Code Here
   1: 
   2: import javax.enterprise.deploy.shared.ActionType;
   3: import javax.enterprise.deploy.shared.CommandType;
   4:         ...
   5: 
   6:   public ActionType getAction()
   7:   {
   8:         ...
   9:     return ActionType.EXECUTE;
  10:   }

View Full Code Here
   1: import javax.enterprise.deploy.shared.CommandType;
   2: import javax.enterprise.deploy.shared.ActionType;
   3: public class DeploymentStatusImpl implements DeploymentStatus {
   4:         ...
   5:     
   6:     public ActionType getAction() {
   7:         ...
   8:         return ActionType.EXECUTE;
   9:     }

View Full Code Here

STOP

public static final ActionType STOP

Constructor Details

ActionType

protected ActionType(int value)
Creates the action type.

Method Details

getActionType

public static ActionType getActionType(int value)
Returns an action of the type.
Usages and Demos :

View More Examples of getActionType(int value)
   1: 
   2: import javax.enterprise.deploy.shared.ActionType;
   3: import javax.enterprise.deploy.shared.CommandType;
   4:         ...
   5:     private final int commandType;
   6:     private final int actionType;
   7:     private final int stateType;
   8:         ...
   9:     
  10:     public DeploymentStatusImpl(CommandType aCommand, ActionType anAction,
  11:         StateType aState, String aMessage) {
  12:         ...
  13:     public ActionType getAction() {
  14:         return ActionType.getActionType(actionType);

View Full Code Here

getEnumValueTable

protected ActionType[] getEnumValueTable()
Returns the string table for action type.

getOffset

protected int getOffset()
Returns the lowest integer value.

getStringTable

protected String[] getStringTable()
Returns the string table for action type.

getValue

public int getValue()
Returns the type.

toString

public String toString()
Returns the string name.
Overrides:
toString in interface Object