com.sap.caf.eu.gp.process.api

Class GPActionInstanceStatus

java.lang.Object
  extended bycom.sap.caf.eu.gp.process.api.GPActionInstanceStatus

public class GPActionInstanceStatus
extends Object


Field Summary
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_ACTIVE
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_CANCELLED
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_COMPLETED
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_ERROR
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_FUTURE
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_IN_PROCESS
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_INVALID
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_RUNNING
          Status of an action
static GPActionInstanceStatus ACTION_INSTANCE_STATUS_SKIPPED
          Status of an action
static int STATUS_IN_PROCESS
          Status of an action
 
Method Summary
 int getCode()
           
static GPActionInstanceStatus getStatusForCode(int code)
          Get the GPActionInstanceStatus instance corresponding to a given code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_IN_PROCESS

public static final int STATUS_IN_PROCESS
Status of an action


ACTION_INSTANCE_STATUS_IN_PROCESS

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_IN_PROCESS
Status of an action


ACTION_INSTANCE_STATUS_INVALID

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_INVALID
Status of an action


ACTION_INSTANCE_STATUS_ACTIVE

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_ACTIVE
Status of an action


ACTION_INSTANCE_STATUS_RUNNING

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_RUNNING
Status of an action


ACTION_INSTANCE_STATUS_CANCELLED

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_CANCELLED
Status of an action


ACTION_INSTANCE_STATUS_COMPLETED

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_COMPLETED
Status of an action


ACTION_INSTANCE_STATUS_ERROR

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_ERROR
Status of an action


ACTION_INSTANCE_STATUS_FUTURE

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_FUTURE
Status of an action


ACTION_INSTANCE_STATUS_SKIPPED

public static final GPActionInstanceStatus ACTION_INSTANCE_STATUS_SKIPPED
Status of an action

Method Detail

getCode

public int getCode()
Returns:
the code of this action status

getStatusForCode

public static GPActionInstanceStatus getStatusForCode(int code)
                                               throws IllegalArgumentException
Get the GPActionInstanceStatus instance corresponding to a given code.

Parameters:
code - the action status code
Returns:
the GPActionInstanceStatus
Throws:
IllegalArgumentException - if no GPActionInstanceStatus is defined for the given code.


Copyright 2006 SAP AG Complete Copyright Notice