org.jboss.dtf.testframework.coordinator2.scheduler.types
Class OneTimeOnlySchedule

java.lang.Object
  extended by org.jboss.dtf.testframework.coordinator2.scheduler.types.ScheduleInformation
      extended by org.jboss.dtf.testframework.coordinator2.scheduler.types.OneTimeOnlySchedule
All Implemented Interfaces:
java.io.Serializable

public class OneTimeOnlySchedule
extends ScheduleInformation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.types.ScheduleInformation
DAILY, MONTHLY, ONE_TIME_ONLY, WEEKLY
 
Constructor Summary
OneTimeOnlySchedule(java.util.Date startDateTime)
           
 
Method Summary
static OneTimeOnlySchedule createSchedule(java.util.Date startDateTime)
           
 java.util.Calendar getNextActivationTime()
          Retrieves the a Date object containing the time and date this schedule next becomes active.
 java.util.Date getStartDateTime()
           
 boolean isScheduleFinished()
          Returns true if the schedule has now finished.
 
Methods inherited from class org.jboss.dtf.testframework.coordinator2.scheduler.types.ScheduleInformation
addFailure, associateFile, delete, deleteIfNecessary, deserialize, getAssociatedFile, getDistributionList, getFailures, getSoftwareVersion, getTestDefinitionsURL, getTestSelectionsURL, getUniqueId, serialize, serialize, setRunInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneTimeOnlySchedule

public OneTimeOnlySchedule(java.util.Date startDateTime)
Method Detail

getStartDateTime

public java.util.Date getStartDateTime()

getNextActivationTime

public java.util.Calendar getNextActivationTime()
Retrieves the a Date object containing the time and date this schedule next becomes active.

Specified by:
getNextActivationTime in class ScheduleInformation
Returns:
The next activation time.

createSchedule

public static OneTimeOnlySchedule createSchedule(java.util.Date startDateTime)

isScheduleFinished

public boolean isScheduleFinished()
Returns true if the schedule has now finished.

Specified by:
isScheduleFinished in class ScheduleInformation
Returns:
True if the schedule is finished.