com.sap.bpm.tm.api

Enum Status

java.lang.Object
  extended by java.lang.Enum<Status>
      extended by com.sap.bpm.tm.api.Status
All Implemented Interfaces:
Serializable, Comparable<Status>

public enum Status
extends Enum<Status>

Represents a task status.
The statuses map to the following BPM meaning:
CREATED: task is created but not yet activated
READY: task is activated but no actual owner is assigned
RESERVED: task is activated and has one actual owner assigned
IN_PROGRESS: task is being executed by the actual owner
COMPLETED: task has been completed by the actual owner
SUSPENDED: task has been suspended
FAILED: task execution has been finished with a fault response
The available statuses are subject to be extended in later releases.


Enum Constant Summary
COMPLETED
          task has been completed by the actual owner
CREATED
          task is created but not yet activated
FAILED
          task execution has been finished with a fault response
IN_PROGRESS
          task is being executed by the actual owner
READY
          task is activated but no actual owner is assigned
RESERVED
          task is activated and has one actual owner assigned
SUSPENDED
          task has been suspended
 
Method Summary
static Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Status[] 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

CREATED

public static final Status CREATED
task is created but not yet activated


READY

public static final Status READY
task is activated but no actual owner is assigned


RESERVED

public static final Status RESERVED
task is activated and has one actual owner assigned


IN_PROGRESS

public static final Status IN_PROGRESS
task is being executed by the actual owner


COMPLETED

public static final Status COMPLETED
task has been completed by the actual owner


SUSPENDED

public static final Status SUSPENDED
task has been suspended


FAILED

public static final Status FAILED
task execution has been finished with a fault response

Method Detail

values

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

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

valueOf

public static Status 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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] BPEM-FACADE [sap.com] tc/bpem/facade/ear - BC-BMT-BPM-DSK
[sap.com] BPEM-FACADE [sap.com] tc/bpem/facade/ear api BC-BMT-BPM-DSK


Copyright 2015 SAP AG Complete Copyright Notice