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 Integer
getMaxAcceptedOutputSize()
Integer
getOutputIdleSecondsTimeout()
void
onProcessFinished(Process ps)
void
onProcessStarted(Process ps)
boolean
terminateEntireProcessTree()
-
-
-
Method Detail
-
onProcessStarted
public void onProcessStarted(@NotNull Process ps)
- Specified by:
onProcessStarted
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
onProcessFinished
public void onProcessFinished(@NotNull Process ps)
- Specified by:
onProcessFinished
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getOutputIdleSecondsTimeout
@Nullable public Integer getOutputIdleSecondsTimeout()
- Specified by:
getOutputIdleSecondsTimeout
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getMaxAcceptedOutputSize
@Nullable public Integer getMaxAcceptedOutputSize()
- Specified by:
getMaxAcceptedOutputSize
in 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:
terminateEntireProcessTree
in interfaceSimpleCommandLineProcessRunner.ProcessRunCallback
-
-