org.jboss.portal.test.framework.driver.remote
Class TestConversation

java.lang.Object
  extended by org.jboss.portal.test.framework.driver.remote.TestConversation

public final class TestConversation
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Julien Viet

Constructor Summary
TestConversation(RemoteTestDriverClient driver, java.lang.String testId, Node node)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 RemoteTestDriverClient getDriver()
           
 Node getNode()
           
 TestParametrization getParametrization()
           
 java.lang.String getTestId()
           
 DriverResponse handleCommand(RemoteDriverCommandContext commandContext)
          Trigger an interaction with the server here.
 TestContext popContext()
           
 void pushContext(RemoteDriverCommandContext commandContext)
           
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setNode(Node node)
           
 void setParametrization(TestParametrization parametrization)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConversation

public TestConversation(RemoteTestDriverClient driver,
                        java.lang.String testId,
                        Node node)
Method Detail

handleCommand

public final DriverResponse handleCommand(RemoteDriverCommandContext commandContext)
                                   throws java.lang.Exception
Trigger an interaction with the server here.

Parameters:
commandContext - the command context
Returns:
the driver response
Throws:
java.lang.Exception - for now any exception

getAttribute

public java.lang.Object getAttribute(java.lang.String name)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)

removeAttribute

public void removeAttribute(java.lang.String name)

getDriver

public RemoteTestDriverClient getDriver()

getTestId

public java.lang.String getTestId()

getNode

public Node getNode()

setNode

public void setNode(Node node)

getParametrization

public TestParametrization getParametrization()

setParametrization

public void setParametrization(TestParametrization parametrization)

pushContext

public void pushContext(RemoteDriverCommandContext commandContext)

popContext

public TestContext popContext()