ProcessStatus Class

com.bea.wli.bpm.runtime
ProcessStatus Class

public class ProcessStatus

    extends Object
    implements Serializable

Represents the status of a particular process instance.

Related Topics

com.bea.wli.management.runtime.ProcessRuntimeMBean#getStatus
com.bea.wli.management.runtime.ProcessInstanceInfo#getStatus


Hierarchy
Object
  ProcessStatus
All Implemented Interfaces

Serializable

Field Summary

public static final ProcessStatus
ABORTED
Represents a process instance that has been aborted.
public static final ProcessStatus
COMPLETED
Represents a process instance that has finished normally.
public static final ProcessStatus
DEFUNCT
Represents a process instance that has been completed or terminated, when tracking level is set to 'none'.
public static final ProcessStatus
FROZEN
Represents a process instance that has been frozen.
public static final ProcessStatus
PENDING_ABORT
Represents a process instance that has a pending abort.
public static final ProcessStatus
RUNNING
Represents a process instance that is currently running.
public static final ProcessStatus
SUSPENDED
Represents a process instance that has been suspended, possibly in response to a "Suspend" request from a user.
public static final ProcessStatus
TERMINATED
Represents a process instance that has been terminated by an external "terminate" request.
public static final List
VALUES
List of all ProcessStatus enumerated types.
 

Method Summary

public int
intValue()
Returns an integer representation for the status.
public boolean
isAborted()
Returns whether this object represents an aborted instance, namely, ( this == ProcessStatus.ABORTED )
public boolean
isCompleted()
Returns whether this object represents a completed instance, namely, (this == ProcessStatus.COMPLETED )
public boolean
isCompOrTerm()
Returns whether this object represents an instance that has either completed normally or has been terminated, namely, (ProcessStatus.isCompleted() || ProcessStatus.isTerminated() )
public boolean
isDefunct()
Returns whether this object represents an instance that is pending delete, namely, (this == ProcessStatus.DEFUNCT )
public boolean
isFrozen()
Returns whether this object represents a frozen instance, namely, (this == ProcessStatus.FROZEN )
public boolean
isPendingAbort()
Returns whether this object represents an instance that has an abort pending, namely, (this == ProcessStatus.PENDING_ABORT )
public boolean
isRunning()
Returns whether this object represents a running instance, namely, (this == ProcessStatus.RUNNING )
public boolean
isSuspended()
Returns whether this object represents a suspended instance, namely, (this == ProcessStatus.SUSPENDED )
public boolean
isTerminated()
Returns whether this object represents an instance that has been terminated, namely, (this == ProcessStatus.TERMINATED )
public static ProcessStatus
toProcessStatus(int val)
Returns the ProcessStatus object whose integer representation is the given integer value.
public String
toString()
Returns string representation of this ProcessStatus
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Field Detail

ABORTED

public static final ProcessStatus ABORTED
Represents a process instance that has been aborted. An aborted instance cannot continue execution. Aborted instances can be terminated.

Related Topics

com.bea.wli.management.runtime.ProcessRuntimeMBean#terminate


COMPLETED

public static final ProcessStatus COMPLETED
Represents a process instance that has finished normally.


DEFUNCT

public static final ProcessStatus DEFUNCT
Represents a process instance that has been completed or terminated, when tracking level is set to 'none'. For consistency in user model of stateful and stateless flows, this state prevents display of associated instances in the OA&M console.


FROZEN

public static final ProcessStatus FROZEN
Represents a process instance that has been frozen. A Frozen instance can be "unfrozen". See for unfreezing a frozen instance.


PENDING_ABORT

public static final ProcessStatus PENDING_ABORT
Represents a process instance that has a pending abort. A pending abort instance cannot continue execution. Pending aborted instances cannot be terminated.

Related Topics

com.bea.wli.management.runtime.ProcessRuntimeMBean#terminate


RUNNING

public static final ProcessStatus RUNNING
Represents a process instance that is currently running. A running instance may be actively consuming resources, or it may be blocked waiting for an input.


SUSPENDED

public static final ProcessStatus SUSPENDED
Represents a process instance that has been suspended, possibly in response to a "Suspend" request from a user. A suspended instance can be resumed. See for suspending an instance, and for resuming a suspended process.


TERMINATED

public static final ProcessStatus TERMINATED
Represents a process instance that has been terminated by an external "terminate" request.

Related Topics

com.bea.wli.management.runtime.ProcessRuntimeMBean#terminate


VALUES

public static final List VALUES
List of all ProcessStatus enumerated types.

 

Method Detail

intValue() Method

public int intValue()
Returns an integer representation for the status.

Related Topics

ProcessStatus.toProcessStatus(int)


isAborted() Method

public boolean isAborted()
Returns whether this object represents an aborted instance, namely, ( this == ProcessStatus.ABORTED )


isCompleted() Method

public boolean isCompleted()
Returns whether this object represents a completed instance, namely, (this == ProcessStatus.COMPLETED )


isCompOrTerm() Method

public boolean isCompOrTerm()
Returns whether this object represents an instance that has either completed normally or has been terminated, namely, (ProcessStatus.isCompleted() || ProcessStatus.isTerminated() )


isDefunct() Method

public boolean isDefunct()
Returns whether this object represents an instance that is pending delete, namely, (this == ProcessStatus.DEFUNCT )


isFrozen() Method

public boolean isFrozen()
Returns whether this object represents a frozen instance, namely, (this == ProcessStatus.FROZEN )


isPendingAbort() Method

public boolean isPendingAbort()
Returns whether this object represents an instance that has an abort pending, namely, (this == ProcessStatus.PENDING_ABORT )


isRunning() Method

public boolean isRunning()
Returns whether this object represents a running instance, namely, (this == ProcessStatus.RUNNING )


isSuspended() Method

public boolean isSuspended()
Returns whether this object represents a suspended instance, namely, (this == ProcessStatus.SUSPENDED )


isTerminated() Method

public boolean isTerminated()
Returns whether this object represents an instance that has been terminated, namely, (this == ProcessStatus.TERMINATED )


toProcessStatus(int) Method

public static ProcessStatus toProcessStatus(int val)
Returns the ProcessStatus object whose integer representation is the given integer value.


toString() Method

public String toString()
Returns string representation of this ProcessStatus

Overrides
Object.toString()