jetbrains.buildServer.agent.runner
Interface MultiCommandBuildSessionFactory

All Superinterfaces:
AgentExtension, TeamCityExtension

public interface MultiCommandBuildSessionFactory
extends AgentExtension

Represent multiple processes build runners API

Since:
7.0
See Also:
CommandLineBuildServiceFactory, MultiCommandBuildSession, AgentBuildRunner

Method Summary
 MultiCommandBuildSession createSession(BuildRunnerContext runnerContext)
          This method is called to create a build runner for a given build step
 AgentBuildRunnerInfo getBuildRunnerInfo()
           
 

Method Detail

createSession

@NotNull
MultiCommandBuildSession createSession(@NotNull
                                               BuildRunnerContext runnerContext)
                                       throws RunBuildException
This method is called to create a build runner for a given build step

Parameters:
runnerContext - build step to execute runner
Returns:
build runner session that describes processes to run
Throws:
RunBuildException - if runner failed to start or failed an error
Since:
7.0

getBuildRunnerInfo

@NotNull
AgentBuildRunnerInfo getBuildRunnerInfo()
Returns:
runner description and compatibility info
Since:
7.0