|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.jboss.dtf.testframework.coordinator2.runmanager.RunManager
public class RunManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
ALL_PERMUTATION_OPTION
|
static int |
OS_PERMUTATION_OPTION
|
static int |
PRODUCT_PERMUTATION_OPTION
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
RunManager(ScheduleInformation schedule,
RunListener listener)
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
java.lang.String[] |
getProductsInUse()
|
RunUID |
getRunId()
|
RunInformation |
getRunInformation()
|
long |
getRunManagerId()
|
ScheduleInformation |
getScheduleInformation()
|
boolean |
isProductInUse(java.lang.String productId)
|
boolean |
notifyNodeAvailable(OSProductCombination freeElement)
This method is called by the nodemanager to inform the run manager that nodes have become available which it has registered an interest in. |
void |
releaseNodeTicket(java.util.ArrayList nodeList,
OSProductCombination[] elements)
Release the node ticket. |
boolean |
stopRun(boolean waitForTestToComplete)
This method stops the run this runmanager is currently running. |
void |
testResult(RunListElement element,
boolean failed)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
public static final int ALL_PERMUTATION_OPTION
public static final int OS_PERMUTATION_OPTION
public static final int PRODUCT_PERMUTATION_OPTION
Constructor Detail |
---|
public RunManager(ScheduleInformation schedule, RunListener listener) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public final ScheduleInformation getScheduleInformation()
public final RunInformation getRunInformation()
public final java.lang.String[] getProductsInUse()
public boolean notifyNodeAvailable(OSProductCombination freeElement)
freeElement
-
public boolean stopRun(boolean waitForTestToComplete)
waitForTestToComplete
-
public RunUID getRunId()
public void releaseNodeTicket(java.util.ArrayList nodeList, OSProductCombination[] elements)
releaseNodeTicket
in interface NodeTicketReleaseListener
nodeList
- The list of nodes to release.public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
public void testResult(RunListElement element, boolean failed)
testResult
in interface ResultListener
public boolean isProductInUse(java.lang.String productId)
public long getRunManagerId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |