javax.enterprise.deploy.shared
Class ActionType

java.lang.Object
  extended by javax.enterprise.deploy.shared.ActionType

public class ActionType
extends Object

An enumeration of deployment status action types.

Version:
$Revision: 1.2.6.1 $
Author:
Adrian Brock

Field Summary
static ActionType CANCEL
          The action type for CANCEL
static ActionType EXECUTE
          The action type for EXECUTE
static ActionType STOP
          The action type for STOP
 
Constructor Summary
protected ActionType(int value)
          Create a new ActionType
 
Method Summary
static ActionType getActionType(int type)
          Get the action type for an integer
protected  ActionType[] getEnumValueTable()
          Get the enumerated values for module type
protected  int getOffset()
          Return the offset of the first element
protected  String[] getStringTable()
          Get the string table for class action type [todo] check this?
 int getValue()
          Get the value
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXECUTE

public static final ActionType EXECUTE
The action type for EXECUTE


CANCEL

public static final ActionType CANCEL
The action type for CANCEL


STOP

public static final ActionType STOP
The action type for STOP

Constructor Detail

ActionType

protected ActionType(int value)
Create a new ActionType

Parameters:
value - the value
Method Detail

getValue

public int getValue()
Get the value

Returns:
the value

getStringTable

protected String[] getStringTable()
Get the string table for class action type [todo] check this?

Returns:
the string table

getEnumValueTable

protected ActionType[] getEnumValueTable()
Get the enumerated values for module type

Returns:
the string table

getActionType

public static ActionType getActionType(int type)
Get the action type for an integer

Parameters:
type - the type
Returns:
the action type

toString

public String toString()
Overrides:
toString in class Object

getOffset

protected int getOffset()
Return the offset of the first element

Returns:
the offset


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.