com.xebialabs.deployit
Interface StepExecutionContext


public interface StepExecutionContext

Defines a set of methods that a step uses to communicate with its execution engine, e.g. to write to the log file.


Method Summary
 void logError(java.lang.String error)
          Logs a line of error output.
 void logOutput(java.lang.String output)
          Logs a line of output.
 

Method Detail

logOutput

void logOutput(java.lang.String output)
Logs a line of output. If this step is executing a command, this would be the output that is sent to the standard output stream.

Parameters:
output - the log line to be written to a destination.

logError

void logError(java.lang.String error)
Logs a line of error output. If this step is executing a command, this would be the output that is sent to the standard error stream.

Parameters:
error - the error to be written to a destination.


Copyright © 2010. All Rights Reserved.