Class StepsFactoryImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.build.steps.StepsFactoryImpl
-
- All Implemented Interfaces:
StepsFactory
public class StepsFactoryImpl extends Object implements StepsFactory
Created 20.03.13 14:14- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description StepsFactoryImpl(RunTypesProvider registry)
StepsFactoryImpl(RunTypesProvider registry, RunnerContextBase.ParametersHolder parametersHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupStepContextImpl
createGroupContext(String name, String runnerType, Map<String,String> runnerParameters, Map<String,String> buildParameters)
Creates build steps groupGroupStepContextImpl
createGroupContext(BuildStepDescriptor runner)
Creates build steps group from a given build runner stepSBuildStepDescriptor
createRunner(String name, String runnerType, Map<String,String> runnerParameters, Map<String,String> buildParameters)
Factory method to create extra build runner context for additional build step that could be inserted via one of the specific methodsSBuildStepDescriptor
createRunner(BuildStepDescriptor descr)
Factory method to create extra build runner context for additional build step that could be inserted via one of the specific methodsprotected String
getRunnerContextIdSuffix()
-
-
-
Constructor Detail
-
StepsFactoryImpl
public StepsFactoryImpl(@NotNull RunTypesProvider registry, @NotNull RunnerContextBase.ParametersHolder parametersHolder)
-
StepsFactoryImpl
public StepsFactoryImpl(@NotNull RunTypesProvider registry)
-
-
Method Detail
-
getRunnerContextIdSuffix
@NotNull protected String getRunnerContextIdSuffix()
-
createRunner
@NotNull public SBuildStepDescriptor createRunner(@NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters, @NotNull Map<String,String> buildParameters)
Description copied from interface:StepsFactory
Factory method to create extra build runner context for additional build step that could be inserted via one of the specific methods- Specified by:
createRunner
in interfaceStepsFactory
- Returns:
- new custom build runner instance
- See Also:
#addRunnerAfter(jetbrains.buildServer.serverSide.SRunnerContext, jetbrains.buildServer.serverSide.SRunnerContext)
-
createRunner
@NotNull public SBuildStepDescriptor createRunner(@NotNull BuildStepDescriptor descr)
Description copied from interface:StepsFactory
Factory method to create extra build runner context for additional build step that could be inserted via one of the specific methods- Specified by:
createRunner
in interfaceStepsFactory
- Returns:
- new custom build runner instance
- See Also:
#addRunnerAfter(jetbrains.buildServer.serverSide.SRunnerContext, jetbrains.buildServer.serverSide.SRunnerContext)
-
createGroupContext
@NotNull public GroupStepContextImpl createGroupContext(@NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters, @NotNull Map<String,String> buildParameters)
Description copied from interface:StepsFactory
Creates build steps group- Specified by:
createGroupContext
in interfaceStepsFactory
- Returns:
- new custom build runner instance
-
createGroupContext
@NotNull public GroupStepContextImpl createGroupContext(@NotNull BuildStepDescriptor runner)
Description copied from interface:StepsFactory
Creates build steps group from a given build runner step- Specified by:
createGroupContext
in interfaceStepsFactory
- Returns:
- new custom build runner instance
-
-