com.xebialabs.deployit.test.support
Class TestExecutionContext

java.lang.Object
  extended by com.xebialabs.deployit.test.support.TestExecutionContext
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.ExecutionContext
Direct Known Subclasses:
CapturingExecutionContext

public class TestExecutionContext
extends java.lang.Object
implements com.xebialabs.deployit.plugin.api.flow.ExecutionContext


Constructor Summary
TestExecutionContext()
           
TestExecutionContext(java.lang.Class<?> clazz)
           
 
Method Summary
 void clearInspectionContext()
           
 void destroy()
           
 java.lang.Object getAttribute(java.lang.String name)
           
 TestInspectionContext getInspectionContext()
           
 void logError(java.lang.String error)
           
 void logError(java.lang.String error, java.lang.Throwable t)
           
 void logOutput(java.lang.String output)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestExecutionContext

public TestExecutionContext()

TestExecutionContext

public TestExecutionContext(java.lang.Class<?> clazz)
Method Detail

logOutput

public void logOutput(java.lang.String output)
Specified by:
logOutput in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

logError

public void logError(java.lang.String error)
Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

logError

public void logError(java.lang.String error,
                     java.lang.Throwable t)
Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Specified by:
getAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Specified by:
setAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

getInspectionContext

public TestInspectionContext getInspectionContext()
Specified by:
getInspectionContext in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext

clearInspectionContext

public void clearInspectionContext()

destroy

public void destroy()