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

## com.intel.cosbench.model
Enum MissionState

    java.lang.Object
      java.lang.Enum<MissionState>
          com.intel.cosbench.model.MissionState

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<MissionState>

    public enum MissionState

extends java.lang.Enum<MissionState>

Enum Constant Summary
`ABORTED`
`ACCOMPLISHED`
`AUTHED`
`AUTHING`
`FINISHED`
`LAUNCHED`
`SUBMITTED`
`TERMINATED`

Method Summary
`static boolean` | `allowAuth(MissionState state)`
`static boolean` | `allowClose(MissionState state)`
`static boolean` | `allowLaunch(MissionState state)`
`static boolean` | `isRunning(MissionState state)`
`static boolean` | `isStopped(MissionState state)`
`static MissionState` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static MissionState[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### SUBMITTED

    public static final MissionState SUBMITTED

### AUTHING

    public static final MissionState AUTHING

### AUTHED

    public static final MissionState AUTHED

### LAUNCHED

    public static final MissionState LAUNCHED

### FINISHED

    public static final MissionState FINISHED

### ACCOMPLISHED

    public static final MissionState ACCOMPLISHED

### ABORTED

    public static final MissionState ABORTED

### TERMINATED

    public static final MissionState TERMINATED

Method Detail

### values

    public static MissionState[] 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 (MissionState c : MissionState.values())
          System.out.println(c);

  Returns:
    an array containing the constants of this enum type, in the order they are declared

### valueOf

    public static MissionState valueOf(java.lang.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:
    `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
    `java.lang.NullPointerException` - if the argument is null

### isStopped

    public static boolean isStopped(MissionState state)

### isRunning

    public static boolean isRunning(MissionState state)

### allowAuth

    public static boolean allowAuth(MissionState state)

### allowLaunch

    public static boolean allowLaunch(MissionState state)

### allowClose

    public static boolean allowClose(MissionState state)

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