Class BambooProcessHandler

java.lang.Object
com.atlassian.utils.process.BaseProcessHandler
com.atlassian.utils.process.PluggableProcessHandler
com.atlassian.bamboo.process.BambooProcessHandler
All Implemented Interfaces:
com.atlassian.utils.process.ProcessHandler

public class BambooProcessHandler extends com.atlassian.utils.process.PluggableProcessHandler
Specialised PluggableProcessHandler that does not throw exceptions on non-zero exits
  • Constructor Summary

    Constructors
    Constructor
    Description
    BambooProcessHandler(@NotNull com.atlassian.utils.process.OutputHandler stdOut, @NotNull com.atlassian.utils.process.OutputHandler stdErr)
     
    BambooProcessHandler(@NotNull com.atlassian.utils.process.OutputHandler stdOut, @NotNull com.atlassian.utils.process.OutputHandler stdErr, @NotNull com.atlassian.utils.process.InputHandler stdIn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class com.atlassian.utils.process.PluggableProcessHandler

    complete, getError, getErrorHandler, getException, getExitCode, getInputHandler, getOutputHandler, hasInput, isCanceled, isComplete, isThrowOnNonZeroExit, processError, processOutput, provideInput, reset, setErrorHandler, setException, setInputHandler, setOutputHandler, setThrowOnNonZeroExit

    Methods inherited from class com.atlassian.utils.process.BaseProcessHandler

    getWatchdog, setWatchdog

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BambooProcessHandler

      public BambooProcessHandler(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdOut, @NotNull @NotNull com.atlassian.utils.process.OutputHandler stdErr)
    • BambooProcessHandler

      public BambooProcessHandler(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdOut, @NotNull @NotNull com.atlassian.utils.process.OutputHandler stdErr, @NotNull @NotNull com.atlassian.utils.process.InputHandler stdIn)
  • Method Details

    • succeeded

      public boolean succeeded()
      Specified by:
      succeeded in interface com.atlassian.utils.process.ProcessHandler
      Overrides:
      succeeded in class com.atlassian.utils.process.PluggableProcessHandler