org.jboss.dtf.testframework.coordinator2.scheduler
Class ScheduleTimed
java.lang.Object
org.jboss.dtf.testframework.coordinator2.RunInformation
org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleTimed
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ScheduleOneTimeOnly, ScheduleWeekDays
public abstract class ScheduleTimed
- extends ScheduleInformation
- See Also:
- Serialized Form
Constructor Summary |
ScheduleTimed(ScheduleInformation schedule,
long time)
|
ScheduleTimed(java.net.URL testDefsURL,
java.net.URL testSelectionsURL,
java.lang.String distributionList,
java.lang.String softwareVersion,
DeployInformation deploy,
int hour,
int minute)
|
ScheduleTimed(java.net.URL testDefsURL,
java.net.URL testSelectionsURL,
java.lang.String distributionList,
java.lang.String softwareVersion,
DeployInformation deploy,
long time)
|
Methods inherited from class org.jboss.dtf.testframework.coordinator2.RunInformation |
getCurrentStatus, getDistributionList, getNumberOfTestsRemaining, getPercentageComplete, getRunId, getSoftwareVersion, getTestDefinitionsURL, getTestSelectionURL, getTotalNumberOfTests, setCurrentStatus, setNumberOfTestsRemaining, setRunId, setSoftwareVersion, setTotalNumberOfTests |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EVENT_COMPLETE
public static final int EVENT_COMPLETE
- See Also:
- Constant Field Values
ScheduleTimed
public ScheduleTimed(java.net.URL testDefsURL,
java.net.URL testSelectionsURL,
java.lang.String distributionList,
java.lang.String softwareVersion,
DeployInformation deploy,
long time)
ScheduleTimed
public ScheduleTimed(java.net.URL testDefsURL,
java.net.URL testSelectionsURL,
java.lang.String distributionList,
java.lang.String softwareVersion,
DeployInformation deploy,
int hour,
int minute)
ScheduleTimed
public ScheduleTimed(ScheduleInformation schedule,
long time)
getTimeOfNextEvent
public long getTimeOfNextEvent()
isBefore
public final boolean isBefore(ScheduleTimed next)
isAfter
public final boolean isAfter(ScheduleTimed next)
invoke
public void invoke()
throws java.lang.InterruptedException
- Specified by:
invoke
in class ScheduleInformation
- Throws:
java.lang.InterruptedException
toString
public java.lang.String toString()
- Overrides:
toString
in class ScheduleInformation