org.yawlfoundation.yawl.engine.time
Class YLaunchDelayer

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.time.YLaunchDelayer
All Implemented Interfaces:
YTimedObject

public class YLaunchDelayer
extends Object
implements YTimedObject

A timer to delay the launching of a process instance. Author: Michael Adams Creation Date: 09/02/2012


Constructor Summary
YLaunchDelayer()
           
YLaunchDelayer(YSpecificationID specID, String caseParams, URI completionObserver, String caseID, YLogDataItemList logData, String serviceHandle, Date expiryTime, boolean persisting)
           
YLaunchDelayer(YSpecificationID specID, String caseParams, URI completionObserver, String caseID, YLogDataItemList logData, String serviceHandle, Duration duration, boolean persisting)
           
YLaunchDelayer(YSpecificationID specID, String caseParams, URI completionObserver, String caseID, YLogDataItemList logData, String serviceHandle, long msec, boolean persisting)
           
YLaunchDelayer(YSpecificationID specID, String caseParams, URI completionObserver, String caseID, YLogDataItemList logData, String serviceHandle, long units, YTimer.TimeUnit interval, boolean persisting)
           
 
Method Summary
 void cancel()
           
 boolean equals(Object other)
           
 long getEndTime()
           
 String getOwnerID()
           
 void handleTimerExpiry()
           
 int hashCode()
           
 void setEndTime(long time)
           
 void setOwnerID(String id)
           
 void setPersisting(boolean persist)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YLaunchDelayer

public YLaunchDelayer()

YLaunchDelayer

public YLaunchDelayer(YSpecificationID specID,
                      String caseParams,
                      URI completionObserver,
                      String caseID,
                      YLogDataItemList logData,
                      String serviceHandle,
                      long msec,
                      boolean persisting)

YLaunchDelayer

public YLaunchDelayer(YSpecificationID specID,
                      String caseParams,
                      URI completionObserver,
                      String caseID,
                      YLogDataItemList logData,
                      String serviceHandle,
                      Date expiryTime,
                      boolean persisting)

YLaunchDelayer

public YLaunchDelayer(YSpecificationID specID,
                      String caseParams,
                      URI completionObserver,
                      String caseID,
                      YLogDataItemList logData,
                      String serviceHandle,
                      Duration duration,
                      boolean persisting)

YLaunchDelayer

public YLaunchDelayer(YSpecificationID specID,
                      String caseParams,
                      URI completionObserver,
                      String caseID,
                      YLogDataItemList logData,
                      String serviceHandle,
                      long units,
                      YTimer.TimeUnit interval,
                      boolean persisting)
Method Detail

getOwnerID

public String getOwnerID()
Specified by:
getOwnerID in interface YTimedObject

setOwnerID

public void setOwnerID(String id)

getEndTime

public long getEndTime()

setEndTime

public void setEndTime(long time)

setPersisting

public void setPersisting(boolean persist)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

handleTimerExpiry

public void handleTimerExpiry()
Specified by:
handleTimerExpiry in interface YTimedObject

cancel

public void cancel()
Specified by:
cancel in interface YTimedObject


Copyright © 2004-2012 The YAWL Foundation.