org.jboss.portal.test.framework.driver.remote
Class TestConversation
java.lang.Object
org.jboss.portal.test.framework.driver.remote.TestConversation
public final class TestConversation
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestConversation
public TestConversation(RemoteTestDriverClient driver,
java.lang.String testId,
Node node)
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()