org.jboss.dtf.testframework.coordinator2.scheduler
Class ScheduleOneTimeOnly

java.lang.Object
  extended by org.jboss.dtf.testframework.coordinator2.RunInformation
      extended by org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
          extended by org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleTimed
              extended by org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleOneTimeOnly
All Implemented Interfaces:
java.io.Serializable

public class ScheduleOneTimeOnly
extends ScheduleTimed

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleTimed
EVENT_COMPLETE
 
Fields inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
 
Constructor Summary
ScheduleOneTimeOnly(ScheduleInformation schedule, int minuteOffsetFromNow)
           
ScheduleOneTimeOnly(java.net.URL testDefsURL, java.net.URL testSelectionsURL, java.lang.String distributionList, java.lang.String softwareVersion, DeployInformation deploy, int hour, int minute)
           
ScheduleOneTimeOnly(java.net.URL testDefsURL, java.net.URL testSelectionsURL, java.lang.String distributionList, java.lang.String softwareVersion, DeployInformation deploy, long time)
           
 
Method Summary
 void invoke()
           
 boolean isScheduleFinished()
           
 
Methods inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleTimed
getTimeOfNextEvent, isAfter, isBefore, toString
 
Methods inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
containsDeploymentInformation, getCoordinator, getDeployInformation, getPriority, getPriorityText, getUID, setCoordinator, setPriority, setUID
 
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
 

Constructor Detail

ScheduleOneTimeOnly

public ScheduleOneTimeOnly(java.net.URL testDefsURL,
                           java.net.URL testSelectionsURL,
                           java.lang.String distributionList,
                           java.lang.String softwareVersion,
                           DeployInformation deploy,
                           long time)

ScheduleOneTimeOnly

public ScheduleOneTimeOnly(java.net.URL testDefsURL,
                           java.net.URL testSelectionsURL,
                           java.lang.String distributionList,
                           java.lang.String softwareVersion,
                           DeployInformation deploy,
                           int hour,
                           int minute)

ScheduleOneTimeOnly

public ScheduleOneTimeOnly(ScheduleInformation schedule,
                           int minuteOffsetFromNow)
Method Detail

isScheduleFinished

public boolean isScheduleFinished()
Specified by:
isScheduleFinished in class ScheduleInformation

invoke

public void invoke()
            throws java.lang.InterruptedException
Overrides:
invoke in class ScheduleTimed
Throws:
java.lang.InterruptedException