1.0.0

org.eclipse.soda.dk.testmanager.action
Class ParallelTestAction

java.lang.Object
  extended by org.eclipse.soda.dk.testmanager.action.AbstractAction
      extended by org.eclipse.soda.dk.testmanager.action.TestAction
          extended by org.eclipse.soda.dk.testmanager.action.ParallelTestAction
All Implemented Interfaces:
Action, ActionContainer

public class ParallelTestAction
extends TestAction

Since:
1.0
Version:
1.2.0

Constructor Summary
ParallelTestAction(java.lang.String id)
          Constructs an instance of this class from the specified id parameter.
 
Method Summary
 void execute(TestScriptService testScript)
          Execute with the specified test script parameter.
protected  void execute(TestScriptService testScript, TestTemplate template)
          Execute with the specified test script and template parameters and return the int result.
protected  java.lang.String getName()
          Gets the name (String) value.
 
Methods inherited from class org.eclipse.soda.dk.testmanager.action.TestAction
add, addCounts, addTest, executeTemplateOrAction, getDescription, getMatchDescription, getTestSession, getTestTemplatesAndActions
 
Methods inherited from class org.eclipse.soda.dk.testmanager.action.AbstractAction
execute, getId, getParentAction, handleScriptActionError, setParentAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelTestAction

public ParallelTestAction(java.lang.String id)
Constructs an instance of this class from the specified id parameter.

Parameters:
id - The ID (String) parameter.
Method Detail

execute

public void execute(TestScriptService testScript)
             throws java.lang.InterruptedException
Execute with the specified test script parameter.

Parameters:
testScript - The test script (TestScriptService) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
execute(TestScriptService,TestTemplate)

execute

protected void execute(TestScriptService testScript,
                       TestTemplate template)
                throws InvalidSyntaxException,
                       java.io.IOException
Execute with the specified test script and template parameters and return the int result.

Specified by:
execute in class TestAction
Parameters:
testScript - The test script (TestScriptService) parameter.
template - The template (TestTemplate) parameter.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException - IOException.
See Also:
execute(TestScriptService)

getName

protected java.lang.String getName()
Gets the name (String) value.

Specified by:
getName in class TestAction
Returns:
The name (String) value.

1.0.0

Copyright (c) 2007, 2009 IBM