Class AutoGeneratedPipelineRunnerGenerator
- java.lang.Object
 - 
- jetbrains.buildServer.pipeline.impl.runner.AutoGeneratedPipelineRunnerGenerator
 
 
- 
- All Implemented Interfaces:
 PipelineRunnerGenerator,ServerExtension,TeamCityExtension
- Direct Known Subclasses:
 PipelineCommandLineRunnerGenerator,PipelineGradleRunnerGenerator,PipelineMavenRunnerGenerator,PipelineNodeJSRunnerGenerator,PipelinePythonRunnerGenerator,PipelineUnityRunnerGenerator
public class AutoGeneratedPipelineRunnerGenerator extends Object implements PipelineRunnerGenerator
Base class for PipelineRunnerGenerator. Main purpose is:
1. Allow adding new runner types to Pipelines without code changes.
2. Unify the source-of-truth, avoid code duplication.
3. Validation support
Typical usage:{@code 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.buildServer.pipeline.PipelineRunnerGenerator
PipelineRunnerGenerator.PipelineRunner 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AutoGeneratedPipelineRunnerGenerator(String xmlLocation, List<String> addonLocations) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineRunnerGenerator.PipelineRunnergenerate(Map<String,String> parameters)List<DslAddOn>getAddons()List<String>getAddonsXmlContents()KotlinDslExtensiongetKotlinDslExtension()StringgetType()StringgetXmlContent() 
 - 
 
- 
- 
Method Detail
- 
getType
@NotNull public String getType()
- Specified by:
 getTypein interfacePipelineRunnerGenerator
 
- 
generate
@NotNull public PipelineRunnerGenerator.PipelineRunner generate(@NotNull Map<String,String> parameters)
- Specified by:
 generatein interfacePipelineRunnerGenerator
 
- 
getXmlContent
@NotNull public String getXmlContent()
- Specified by:
 getXmlContentin interfacePipelineRunnerGenerator
 
- 
getAddonsXmlContents
@NotNull public List<String> getAddonsXmlContents()
- Specified by:
 getAddonsXmlContentsin interfacePipelineRunnerGenerator
 
- 
getKotlinDslExtension
@NotNull public KotlinDslExtension getKotlinDslExtension()
- Specified by:
 getKotlinDslExtensionin interfacePipelineRunnerGenerator
 
- 
getAddons
@NotNull public List<DslAddOn> getAddons()
- Specified by:
 getAddonsin interfacePipelineRunnerGenerator
 
 - 
 
 -