com.xebialabs.deployit.hostsession
Interface CommandExecutionCallbackHandler

All Known Implementing Classes:
CapturingCommandExecutionCallbackHandler, DebugCommandExecutionCallbackHandler, InputResponseHandler, SshSudoPasswordPromptHandler, StepExecutionContextCallbackHandler

public interface CommandExecutionCallbackHandler

Handler for callbacks from the host session.


Method Summary
 void handleErrorLine(java.lang.String line)
          Invoked when an executed command generated a line of error (stderr).
 void handleOutput(char c)
          Invoked when an executed command generates a character of output (stdout).
 void handleOutputLine(java.lang.String line)
          Invoked when an executed command generated a line of output (stdout).
 

Method Detail

handleOutput

void handleOutput(char c)
Invoked when an executed command generates a character of output (stdout).

Parameters:
c - the character of output generated.

handleOutputLine

void handleOutputLine(java.lang.String line)
Invoked when an executed command generated a line of output (stdout).

Parameters:
line - the line of output generated.

handleErrorLine

void handleErrorLine(java.lang.String line)
Invoked when an executed command generated a line of error (stderr).

Parameters:
line - the line of output generated.


Copyright © 2010. All Rights Reserved.