TPTP 4.2.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.common.runner
Class HyadesRunner

java.lang.Object
  extended byorg.eclipse.hyades.test.common.runner.HyadesRunner
Direct Known Subclasses:
HyadesTestRunner

public class HyadesRunner
extends java.lang.Object


Nested Class Summary
 class HyadesRunner.Commandhandler
           
 
Field Summary
protected  org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton agent
           
protected  java.lang.String AGENT_NAME
           
 java.util.HashMap agentCollection
           
protected  java.lang.String agentName
           
protected  ComptestAgent comptestAgent
           
protected  java.lang.String TEST_CLASS
           
protected  int TEST_CLASS_INDEX
           
protected  java.lang.String TEST_ID
           
protected  int TEST_ID_INDEX
           
protected  java.lang.String testClass
           
protected  java.lang.String testID
           
 
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
 
Method Summary
 void dispose()
           
 org.eclipse.hyades.internal.execution.remote.RemoteComponentSkeleton getAgent(java.lang.Object key)
           
 void handleCustomCommand(org.eclipse.hyades.internal.execution.local.common.CustomCommand command)
           
 boolean isOKToStart()
          Is it okay to continue starting the test?
protected  void setOKToStart(boolean isOK)
           
protected  void setRunnerProperties(java.lang.String[] args)
           
 void writeExecEvent(ExecutionEvent executionEvent)
           
 void writeExecEvent(java.lang.String executionEventStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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:

Method Detail

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)

TPTP 4.2.0 Testing Tools Project
Public API Specification