AgentBuildRunner
@Deprecated public interface BuildRunner extends AgentExtension
Modifier and Type | Method and Description |
---|---|
boolean |
canRun(BuildAgentConfiguration agentConfiguration)
Deprecated.
|
BuildProgressLogger |
getBuildLogger()
Deprecated.
Returns build server logger
|
java.lang.String |
getType()
Deprecated.
Returns name of the runner, should match RunType.getType
|
boolean |
isStopped()
Deprecated.
Returns true if #stopBuild was invoked in the current build
|
void |
run(java.util.Map<java.lang.String,java.lang.String> runnerParameters,
java.util.Map<java.lang.String,java.lang.String> buildParameters,
BuildPostRunnable postRunnable,
java.io.File tempDir)
Deprecated.
Main method which is used to run the build.
|
void |
setLogger(BuildProgressLogger logger)
Deprecated.
sets build logger instance to the runner
|
void |
stopBuild()
Deprecated.
Method is invoked upon attempt to stop the build
|
@NonNls java.lang.String getType()
void run(java.util.Map<java.lang.String,java.lang.String> runnerParameters, java.util.Map<java.lang.String,java.lang.String> buildParameters, BuildPostRunnable postRunnable, java.io.File tempDir) throws RunBuildException
runnerParameters
- build runner parametersbuildParameters
- build parameterspostRunnable
- action to invoke after build runner finishestempDir
- temp directoryRunBuildException
- if error occursvoid setLogger(BuildProgressLogger logger)
logger
- logger instanceBuildProgressLogger getBuildLogger()
boolean canRun(BuildAgentConfiguration agentConfiguration)
agentConfiguration
- - current agent configurationvoid stopBuild()
boolean isStopped()