1.0.0

org.eclipse.soda.dk.testmanager.servlet
Class TestControl

java.lang.Object
  extended by org.eclipse.soda.dk.testmanager.servlet.TestControl
All Implemented Interfaces:
TestSynchronizationService

public class TestControl
extends java.lang.Object
implements TestSynchronizationService

Version:
1.0.0

Nested Class Summary
static class TestControl.Request
           
 
Constructor Summary
TestControl()
          Constructs an instance of this class.
 
Method Summary
 void confirmRequest(boolean confirmationValue)
          Confirm request with the specified confirmation value parameter.
 void finished()
          Finished.
 boolean requestConfirmation(java.lang.String prompt, java.lang.String testName)
          Request confirmation with the specified prompt and test name parameters and return the boolean result.
 void setTestSession(TestSessionService testSession)
           
 TestControl.Request waitForNextEvent()
          Wait for next event and return the Request result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestControl

public TestControl()
Constructs an instance of this class.

Method Detail

confirmRequest

public void confirmRequest(boolean confirmationValue)
Confirm request with the specified confirmation value parameter.

Parameters:
confirmationValue - The confirmation value (boolean) parameter.

finished

public void finished()
Finished.


requestConfirmation

public boolean requestConfirmation(java.lang.String prompt,
                                   java.lang.String testName)
                            throws java.lang.InterruptedException
Request confirmation with the specified prompt and test name parameters and return the boolean result.

Specified by:
requestConfirmation in interface TestSynchronizationService
Parameters:
prompt - The prompt (String) parameter.
testName - The test name (String) parameter.
Returns:
Results of the request confirmation (boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

setTestSession

public void setTestSession(TestSessionService testSession)
Parameters:
testSession - the testSession to set

waitForNextEvent

public TestControl.Request waitForNextEvent()
                                     throws java.lang.InterruptedException
Wait for next event and return the Request result.

Returns:
Results of the wait for next event (Request) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

1.0.0

Copyright (c) 2007 IBM