org.jbpm.task.service
Enum Operation

java.lang.Object
  extended by java.lang.Enum<Operation>
      extended by org.jbpm.task.service.Operation
All Implemented Interfaces:
Serializable, Comparable<Operation>

public enum Operation
extends Enum<Operation>


Enum Constant Summary
Activate
           
Claim
           
Complete
           
Delegate
           
Exit
           
Fail
           
Forward
           
Register
           
Release
           
Remove
           
Resume
           
Skip
           
Start
           
Stop
           
Suspend
           
 
Method Summary
static Operation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Operation[] 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

Claim

public static final Operation Claim

Start

public static final Operation Start

Stop

public static final Operation Stop

Release

public static final Operation Release

Suspend

public static final Operation Suspend

Resume

public static final Operation Resume

Skip

public static final Operation Skip

Delegate

public static final Operation Delegate

Forward

public static final Operation Forward

Complete

public static final Operation Complete

Fail

public static final Operation Fail

Register

public static final Operation Register

Remove

public static final Operation Remove

Activate

public static final Operation Activate

Exit

public static final Operation Exit
Method Detail

values

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

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

valueOf

public static Operation 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 © 2001-2012 JBoss by Red Hat. All Rights Reserved.