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 java.lang.Object implements SimpleCommandLineProcessRunner.ProcessRunCallback
-
-
Constructor Summary
Constructors Constructor Description RunCommandEventsAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getMaxAcceptedOutputSize()
java.lang.Integer
getOutputIdleSecondsTimeout()
void
onProcessFinished(java.lang.Process ps)
void
onProcessStarted(java.lang.Process ps)
boolean
terminateEntireProcessTree()
-
-
-
Method Detail
-
onProcessStarted
public void onProcessStarted(@NotNull java.lang.Process ps)
- Specified by:
onProcessStarted
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
onProcessFinished
public void onProcessFinished(@NotNull java.lang.Process ps)
- Specified by:
onProcessFinished
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getOutputIdleSecondsTimeout
@Nullable public java.lang.Integer getOutputIdleSecondsTimeout()
- Specified by:
getOutputIdleSecondsTimeout
in interfaceSimpleCommandLineProcessRunner.RunCommandEvents
-
getMaxAcceptedOutputSize
@Nullable public java.lang.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
-
-