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.common
Class DatabaseWaitEvent

    java.lang.Object
      org.jprocessunit.WaitEvent
          org.jprocessunit.addon.common.DatabaseWaitEvent

All Implemented Interfaces:
  ProcessEvent

    public class DatabaseWaitEvent

extends WaitEvent

JProcessUnit Wait Event used to wait for an SQL query to return a result.

Author:
  Reza Shafii

Constructor Summary
`DatabaseWaitEvent(java.lang.String checkQuery)` Default constructor, connect's to the ServerInfo database connection.

Method Summary
`boolean` | `waitConditionSatisfied()` The wait condition is satisfied only when the SQL statement of this object returns a result (any result).

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

### DatabaseWaitEvent

    public DatabaseWaitEvent(java.lang.String checkQuery)

  Default constructor, connect's to the ServerInfo database connection.

Method Detail

### waitConditionSatisfied

    public boolean waitConditionSatisfied()

  The wait condition is satisfied only when the SQL statement of this object returns a result (any result).

  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