gr.uoa.di.madgik.execution.event
Enum ExecutionStateEvent.EventName

java.lang.Object
  extended by java.lang.Enum<ExecutionStateEvent.EventName>
      extended by gr.uoa.di.madgik.execution.event.ExecutionStateEvent.EventName
All Implemented Interfaces:
Serializable, Comparable<ExecutionStateEvent.EventName>
Enclosing class:
ExecutionStateEvent

public static enum ExecutionStateEvent.EventName
extends Enum<ExecutionStateEvent.EventName>

The typed name of event

Author:
gpapanikos

Enum Constant Summary
ExecutionCancel
          The Execution is canceled.
ExecutionCompleted
          The Execution has completed.
ExecutionExternalProgress
          Event reporting on the progress of the execution of a component external to the engine.
ExecutionPause
          The Execution is paused.
ExecutionPerformance
          Event reporting performance measurements.
ExecutionProgress
          Event reporting on the progress of the execution.
ExecutionResume
          The Execution should resume.
ExecutionStarted
          The Execution has started.
 
Method Summary
static ExecutionStateEvent.EventName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutionStateEvent.EventName[] 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

ExecutionCompleted

public static final ExecutionStateEvent.EventName ExecutionCompleted
The Execution has completed.


ExecutionStarted

public static final ExecutionStateEvent.EventName ExecutionStarted
The Execution has started.


ExecutionPause

public static final ExecutionStateEvent.EventName ExecutionPause
The Execution is paused.


ExecutionResume

public static final ExecutionStateEvent.EventName ExecutionResume
The Execution should resume.


ExecutionCancel

public static final ExecutionStateEvent.EventName ExecutionCancel
The Execution is canceled.


ExecutionProgress

public static final ExecutionStateEvent.EventName ExecutionProgress
Event reporting on the progress of the execution.


ExecutionExternalProgress

public static final ExecutionStateEvent.EventName ExecutionExternalProgress
Event reporting on the progress of the execution of a component external to the engine.


ExecutionPerformance

public static final ExecutionStateEvent.EventName ExecutionPerformance
Event reporting performance measurements.

Method Detail

values

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

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

valueOf

public static ExecutionStateEvent.EventName 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.