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

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ScheduleOneTimeOnly, ScheduleWeekDays

public abstract class ScheduleTimed
extends ScheduleInformation

See Also:
Serialized Form

Field Summary
static int EVENT_COMPLETE
           
 
Fields inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
 
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)
           
 
Method Summary
 long getTimeOfNextEvent()
           
 void invoke()
           
 boolean isAfter(ScheduleTimed next)
           
 boolean isBefore(ScheduleTimed next)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
containsDeploymentInformation, getCoordinator, getDeployInformation, getPriority, getPriorityText, getUID, isScheduleFinished, 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
 

Field Detail

EVENT_COMPLETE

public static final int EVENT_COMPLETE
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

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