org.jprocessunit.addon.common
Class FileWaitEvent

java.lang.Object
  extended by org.jprocessunit.WaitEvent
      extended by org.jprocessunit.addon.common.FileWaitEvent
All Implemented Interfaces:
ProcessEvent

public class FileWaitEvent
extends WaitEvent

JProcess unit wait event used to wait until a particular file is found.

Author:
Reza Shafii

Constructor Summary
FileWaitEvent(java.io.File fileToFind)
           
 
Method Summary
 boolean waitConditionSatisfied()
          The wait condition satisfied when the file is found.
 
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

FileWaitEvent

public FileWaitEvent(java.io.File fileToFind)
Method Detail

waitConditionSatisfied

public boolean waitConditionSatisfied()
The wait condition satisfied when the file is found.

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


JProcessUnit API