Class SingleCommandLineBuildSessionFactoryAdapter
- java.lang.Object
 - 
- jetbrains.buildServer.agent.runner2.SingleCommandLineBuildSessionFactoryAdapter
 
 
- 
- All Implemented Interfaces:
 AgentExtension,MultiCommandBuildSessionFactory,TeamCityExtension
public class SingleCommandLineBuildSessionFactoryAdapter extends Object implements MultiCommandBuildSessionFactory
 
- 
- 
Constructor Summary
Constructors Constructor Description SingleCommandLineBuildSessionFactoryAdapter(CommandLineBuildServiceFactory adaptee) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiCommandBuildSessioncreateSession(BuildRunnerContext runnerContext)This method is called to create a build runner for a given build stepAgentBuildRunnerInfogetBuildRunnerInfo() 
 - 
 
- 
- 
Constructor Detail
- 
SingleCommandLineBuildSessionFactoryAdapter
public SingleCommandLineBuildSessionFactoryAdapter(@NotNull CommandLineBuildServiceFactory adaptee) 
 - 
 
- 
Method Detail
- 
createSession
@NotNull public MultiCommandBuildSession createSession(@NotNull BuildRunnerContext runnerContext) throws RunBuildException
Description copied from interface:MultiCommandBuildSessionFactoryThis method is called to create a build runner for a given build step- Specified by:
 createSessionin interfaceMultiCommandBuildSessionFactory- 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
 
- 
getBuildRunnerInfo
@NotNull public AgentBuildRunnerInfo getBuildRunnerInfo()
- Specified by:
 getBuildRunnerInfoin interfaceMultiCommandBuildSessionFactory- Returns:
 - runner description and compatibility info
 
 
 - 
 
 -