Package jetbrains.buildServer
Class SimpleCommandLineProcessRunner.RunCommandEventsAdapter
- java.lang.Object
-
- jetbrains.buildServer.SimpleCommandLineProcessRunner.RunCommandEventsAdapter
-
- All Implemented Interfaces:
SimpleCommandLineProcessRunner.ProcessRunCallback,SimpleCommandLineProcessRunner.RunCommandEvents
- Direct Known Subclasses:
SimpleCommandLineProcessRunner.NoOutputTimeoutRunCommandEventsAdapter,SimpleCommandLineProcessRunner.ProcessRunCallbackAdapter
- Enclosing class:
- SimpleCommandLineProcessRunner
public static class SimpleCommandLineProcessRunner.RunCommandEventsAdapter extends Object implements SimpleCommandLineProcessRunner.ProcessRunCallback
-
-
Constructor Summary
Constructors Constructor Description RunCommandEventsAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetMaxAcceptedOutputSize()IntegergetOutputIdleSecondsTimeout()voidonProcessFinished(Process ps)voidonProcessStarted(Process ps)booleanterminateEntireProcessTree()
-
-
-
Method Detail
-
onProcessStarted
public void onProcessStarted(@NotNull Process ps)- Specified by:
onProcessStartedin interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
onProcessFinished
public void onProcessFinished(@NotNull Process ps)- Specified by:
onProcessFinishedin interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getOutputIdleSecondsTimeout
@Nullable public Integer getOutputIdleSecondsTimeout()
- Specified by:
getOutputIdleSecondsTimeoutin interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getMaxAcceptedOutputSize
@Nullable public Integer getMaxAcceptedOutputSize()
- Specified by:
getMaxAcceptedOutputSizein interfaceSimpleCommandLineProcessRunner.ProcessRunCallback- Returns:
- maximum threshold of the process output (in bytes), which can be handled by caller. If stdout or stderr is larger, process further output is ignored. Default - null - no limit.
-
terminateEntireProcessTree
public boolean terminateEntireProcessTree()
- Specified by:
terminateEntireProcessTreein interfaceSimpleCommandLineProcessRunner.ProcessRunCallback
-
-