org.eclipse.hyades.test.common.runner
Class HyadesRunner
java.lang.Object
org.eclipse.hyades.test.common.runner.HyadesRunner
- Direct Known Subclasses:
- HyadesTestRunner
- public class HyadesRunner
- extends java.lang.Object
|
Constructor Summary |
HyadesRunner()
|
HyadesRunner(org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton agent)
|
HyadesRunner(java.lang.String[] args)
|
HyadesRunner(java.lang.String[] args,
java.util.Vector commandHandler)
Use this constructor to add command handlers to the agent that is to be created
Pre-condition:
The items of commandHandler must be of type CustomCommandHandler
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comptestAgent
protected ComptestAgent comptestAgent
agent
protected org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton agent
TEST_CLASS
protected final java.lang.String TEST_CLASS
- See Also:
- Constant Field Values
TEST_ID
protected final java.lang.String TEST_ID
- See Also:
- Constant Field Values
AGENT_NAME
protected final java.lang.String AGENT_NAME
- See Also:
- Constant Field Values
testClass
protected java.lang.String testClass
testID
protected java.lang.String testID
agentName
protected java.lang.String agentName
TEST_CLASS_INDEX
protected final int TEST_CLASS_INDEX
- See Also:
- Constant Field Values
TEST_ID_INDEX
protected final int TEST_ID_INDEX
- See Also:
- Constant Field Values
agentCollection
public java.util.HashMap agentCollection
HyadesRunner
public HyadesRunner()
HyadesRunner
public HyadesRunner(java.lang.String[] args)
HyadesRunner
public HyadesRunner(org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton agent)
HyadesRunner
public HyadesRunner(java.lang.String[] args,
java.util.Vector commandHandler)
- Use this constructor to add command handlers to the agent that is to be created
Pre-condition:
- The items of commandHandler must be of type CustomCommandHandler
isOKToStart
public boolean isOKToStart()
- Is it okay to continue starting the test?
- Returns:
true if it is okay to start the test,
false otherwise
setOKToStart
protected void setOKToStart(boolean isOK)
dispose
public void dispose()
handleCustomCommand
public void handleCustomCommand(org.eclipse.hyades.internal.execution.local.common.CustomCommand command)
writeExecEvent
public void writeExecEvent(ExecutionEvent executionEvent)
writeExecEvent
public void writeExecEvent(java.lang.String executionEventStr)
getAgent
public org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton getAgent(java.lang.Object key)
- Parameters:
key -
- Returns:
setRunnerProperties
protected void setRunnerProperties(java.lang.String[] args)