com.atlassian.fisheye.plugins.scm.utils.process
Class StringProcessHandler

java.lang.Object
  extended by com.atlassian.fisheye.plugins.scm.utils.process.BaseProcessHandler
      extended by com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler
          extended by com.atlassian.fisheye.plugins.scm.utils.process.StringProcessHandler
All Implemented Interfaces:
ProcessHandler

public class StringProcessHandler
extends PluggableProcessHandler

A ProcessHandler implementation which collects process output into strings and, optionally, provides input from a string.


Constructor Summary
StringProcessHandler()
           
StringProcessHandler(java.lang.String input)
           
StringProcessHandler(java.lang.String input, java.lang.String encoding)
           
 
Method Summary
 java.lang.String getError()
           
 java.lang.String getOutput()
           
 
Methods inherited from class com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler
complete, getErrorHandler, getException, getExitCode, getInputHandler, getOutputHandler, hasInput, isComplete, processError, processOutput, provideInput, reset, setErrorHandler, setInputHandler, setOutputHandler, succeeded
 
Methods inherited from class com.atlassian.fisheye.plugins.scm.utils.process.BaseProcessHandler
getWatchdog, setWatchdog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringProcessHandler

public StringProcessHandler()

StringProcessHandler

public StringProcessHandler(java.lang.String input)

StringProcessHandler

public StringProcessHandler(java.lang.String input,
                            java.lang.String encoding)
Method Detail

getOutput

public java.lang.String getOutput()

getError

public java.lang.String getError()
Overrides:
getError in class PluggableProcessHandler