1.0.0

org.eclipse.soda.dk.testagent
Class ConsoleSynchronization

java.lang.Object
  extended by org.eclipse.soda.dk.testagent.ConsoleSynchronization
All Implemented Interfaces:
TestSynchronizationService
Direct Known Subclasses:
TestControllerConsole

public class ConsoleSynchronization
extends java.lang.Object
implements TestSynchronizationService

Version:
1.0.0

Constructor Summary
ConsoleSynchronization()
           
 
Method Summary
protected  void printEvent(boolean error, java.lang.String message, java.lang.String detail)
          Print event with the specified error, message and detail parameters.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleSynchronization

public ConsoleSynchronization()
Method Detail

printEvent

protected void printEvent(boolean error,
                          java.lang.String message,
                          java.lang.String detail)
Print event with the specified error, message and detail parameters.

Parameters:
error - The error (boolean) parameter.
message - The message (String) parameter.
detail - The detail (String) parameter.

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.

1.0.0

Copyright (c) 2007 IBM