Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jprocessunit.addon.jpd
Class ProcessStateWaitEvent

    java.lang.Object
      org.jprocessunit.WaitEvent
          org.jprocessunit.addon.jpd.ProcessStateWaitEvent

All Implemented Interfaces:
  ProcessEvent

    public class ProcessStateWaitEvent

extends WaitEvent

JProcessUnit Wait Event used to wait for a JPD instance to enter a certain state.

Author:
  Reza Shafii

Constructor Summary
`ProcessStateWaitEvent(java.lang.String instanceId, com.bea.wli.bpm.runtime.ProcessStatus waitStatus)`

Method Summary
`boolean` | `waitConditionSatisfied()` Method should be overriden by all subclasses (all specific wait events).

Methods inherited from class org.jprocessunit.WaitEvent
`assertEvent, setPollingInterval, setTimeOutValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ProcessStateWaitEvent

    public ProcessStateWaitEvent(java.lang.String instanceId,
                                 com.bea.wli.bpm.runtime.ProcessStatus waitStatus)

Parameters:
  `instanceId` - Instance ID of the JPD for which the wait is required.
  `waitStatus` - Status to wait for.

Method Detail

### waitConditionSatisfied

    public boolean waitConditionSatisfied()

  Description copied from class: `WaitEvent`
  Method should be overriden by all subclasses (all specific wait events).

  Specified by:
    `waitConditionSatisfied` in class `WaitEvent`
  Returns:
    true if the wait condition was satified and false otherwise.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

JProcessUnit API