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

java.lang.Object
  extended by org.jboss.dtf.testframework.coordinator2.RunInformation
      extended by org.jboss.dtf.testframework.coordinator2.scheduler.ScheduleInformation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ScheduleOnRunCompletion, ScheduleTimed, ScheduleWhenPossible

public abstract class ScheduleInformation
extends RunInformation

See Also:
Serialized Form

Field Summary
static int HIGH_PRIORITY
           
static int LOW_PRIORITY
           
static int MEDIUM_PRIORITY
           
 
Constructor Summary
ScheduleInformation(java.net.URL testDefsURL, java.net.URL testSelectionsURL, java.lang.String distributionList, java.lang.String softwareVersion, DeployInformation deployInfo)
           
 
Method Summary
 boolean containsDeploymentInformation()
           
 CoordinatorInterface getCoordinator()
           
 DeployInformation getDeployInformation()
           
 int getPriority()
           
 java.lang.String getPriorityText()
           
 long getUID()
           
abstract  void invoke()
           
abstract  boolean isScheduleFinished()
           
 void setCoordinator(CoordinatorInterface coord)
           
 void setPriority(int priority)
           
 void setUID(long uid)
           
 java.lang.String toString()
           
 
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

LOW_PRIORITY

public static final int LOW_PRIORITY
See Also:
Constant Field Values

MEDIUM_PRIORITY

public static final int MEDIUM_PRIORITY
See Also:
Constant Field Values

HIGH_PRIORITY

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

ScheduleInformation

public ScheduleInformation(java.net.URL testDefsURL,
                           java.net.URL testSelectionsURL,
                           java.lang.String distributionList,
                           java.lang.String softwareVersion,
                           DeployInformation deployInfo)
Method Detail

getPriority

public final int getPriority()

getPriorityText

public final java.lang.String getPriorityText()

setPriority

public final void setPriority(int priority)

getDeployInformation

public final DeployInformation getDeployInformation()

containsDeploymentInformation

public final boolean containsDeploymentInformation()

isScheduleFinished

public abstract boolean isScheduleFinished()

invoke

public abstract void invoke()
                     throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

setCoordinator

public final void setCoordinator(CoordinatorInterface coord)

getCoordinator

public final CoordinatorInterface getCoordinator()

getUID

public final long getUID()

setUID

public final void setUID(long uid)

toString

public java.lang.String toString()
Overrides:
toString in class RunInformation