org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types
Enum ExecutionEntity.ExecutionState

java.lang.Object
  extended by java.lang.Enum<ExecutionEntity.ExecutionState>
      extended by org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.ExecutionEntity.ExecutionState
All Implemented Interfaces:
Serializable, Comparable<ExecutionEntity.ExecutionState>
Enclosing class:
ExecutionEntity

public static enum ExecutionEntity.ExecutionState
extends Enum<ExecutionEntity.ExecutionState>


Enum Constant Summary
CANCELLED
           
COMPLETED_FAILURE
           
COMPLETED_SUCCESS
           
COMPLETED_WARNINGS
           
NOT_STARTED
           
RUNNING
           
 
Method Summary
static ExecutionEntity.ExecutionState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutionEntity.ExecutionState[] 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

NOT_STARTED

public static final ExecutionEntity.ExecutionState NOT_STARTED

RUNNING

public static final ExecutionEntity.ExecutionState RUNNING

COMPLETED_SUCCESS

public static final ExecutionEntity.ExecutionState COMPLETED_SUCCESS

COMPLETED_FAILURE

public static final ExecutionEntity.ExecutionState COMPLETED_FAILURE

COMPLETED_WARNINGS

public static final ExecutionEntity.ExecutionState COMPLETED_WARNINGS

CANCELLED

public static final ExecutionEntity.ExecutionState CANCELLED
Method Detail

values

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

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

valueOf

public static ExecutionEntity.ExecutionState 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


Copyright © 2013. All Rights Reserved.