Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.enterprise.deploy.shared
Class StateType

    java.lang.Object
      javax.enterprise.deploy.shared.StateType

public class StateType
extends Object

An enumeration of deployment states.

Version:
  $Revision: 1.2 $
Author:
  Adrian Brock

Field Summary
`static StateType` | `COMPLETED` The state type for an COMPLETED
`static StateType` | `FAILED` The state type for an FAILED
`static StateType` | `RELEASED` The state type for an RELEASED
`static StateType` | `RUNNING` The state type for an RUNNING

Constructor Summary
`protected` | `StateType(int value)` Create a new StateType

Method Summary
`protected StateType[]` | `getEnumValueTable()` Get the enumerated values for module type
`protected int` | `getOffset()` Return the offset of the first element
`static StateType` | `getStateType(int type)` Get the state type for an integer
`protected String[]` | `getStringTable()` Get the string table for class command 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

### RUNNING

    public static final StateType RUNNING

  The state type for an RUNNING

### COMPLETED

    public static final StateType COMPLETED

  The state type for an COMPLETED

### FAILED

    public static final StateType FAILED

  The state type for an FAILED

### RELEASED

    public static final StateType RELEASED

  The state type for an RELEASED

Constructor Detail

### StateType

    protected StateType(int value)

  Create a new StateType

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 command type [todo] check this?

  Returns:
    the string table

### getEnumValueTable

    protected StateType[] getEnumValueTable()

  Get the enumerated values for module type

  Returns:
    the string table

### getStateType

    public static StateType getStateType(int type)

  Get the state type for an integer

  Parameters:
    `type` - the type
  Returns:
    the state type

### toString

    public String toString()

### getOffset

    protected int getOffset()

  Return the offset of the first element

  Returns:
    the offset

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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