com.xebialabs.deployit.test.support
Class CapturingExecutionContext
java.lang.Object
com.xebialabs.deployit.test.support.TestExecutionContext
com.xebialabs.deployit.test.support.CapturingExecutionContext
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.flow.ExecutionContext
public class CapturingExecutionContext
- extends TestExecutionContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
capturedOutput
protected java.util.List<java.lang.String> capturedOutput
capturedError
protected java.util.List<java.lang.String> capturedError
CapturingExecutionContext
public CapturingExecutionContext()
CapturingExecutionContext
public CapturingExecutionContext(java.lang.Class<?> clazz)
logOutput
public void logOutput(java.lang.String output)
- Specified by:
logOutput in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext- Overrides:
logOutput in class TestExecutionContext
logError
public void logError(java.lang.String error)
- Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext- Overrides:
logError in class TestExecutionContext
logError
public void logError(java.lang.String error,
java.lang.Throwable t)
- Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext- Overrides:
logError in class TestExecutionContext
getCapturedOutput
public java.util.List<java.lang.String> getCapturedOutput()
getCapturedError
public java.util.List<java.lang.String> getCapturedError()