jetbrains.buildServer.agent.runner
Interface CommandExecution

All Superinterfaces:
java.util.EventListener, ProcessListener

public interface CommandExecution
extends ProcessListener

Represents a process description to start with MultiCommandBuildSession

Since:
7.0
See Also:
MultiCommandBuildSession

Method Summary
 void beforeProcessStarted()
          Called before makeProgramCommandLine() method is called and before process is started
 TerminationAction interruptRequested()
           
 boolean isCommandLineLoggingEnabled()
           
 ProgramCommandLine makeProgramCommandLine()
          This method is called to build a commandline and environment variables set for build process that would be started and handled by core
 
Methods inherited from interface jetbrains.buildServer.agent.runner.ProcessListener
onErrorOutput, onStandardOutput, processFinished, processStarted
 

Method Detail

makeProgramCommandLine

@NotNull
ProgramCommandLine makeProgramCommandLine()
                                          throws RunBuildException
This method is called to build a commandline and environment variables set for build process that would be started and handled by core

Returns:
commandline of build process to start
Throws:
RunBuildException
Since:
7.0

beforeProcessStarted

void beforeProcessStarted()
                          throws RunBuildException
Called before makeProgramCommandLine() method is called and before process is started

Throws:
RunBuildException
Since:
7.0

interruptRequested

@NotNull
TerminationAction interruptRequested()
Returns:
method that would be used to stop currently running step
Since:
7.0
See Also:
TerminationAction

isCommandLineLoggingEnabled

boolean isCommandLineLoggingEnabled()
Returns:
true is you need to log starting process commandline
Since:
7.0