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 GroupStepContextImplcreateGroupContext(String name, String runnerType, Map<String,String> runnerParameters, Map<String,String> buildParameters)Creates build steps groupGroupStepContextImplcreateGroupContext(BuildStepDescriptor runner)Creates build steps group from a given build runner stepSBuildStepDescriptorcreateRunner(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 methodsSBuildStepDescriptorcreateRunner(BuildStepDescriptor descr)Factory method to create extra build runner context for additional build step that could be inserted via one of the specific methodsprotected StringgetRunnerContextIdSuffix()
-
-
-
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:StepsFactoryFactory method to create extra build runner context for additional build step that could be inserted via one of the specific methods- Specified by:
createRunnerin 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:StepsFactoryFactory method to create extra build runner context for additional build step that could be inserted via one of the specific methods- Specified by:
createRunnerin 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:StepsFactoryCreates build steps group- Specified by:
createGroupContextin interfaceStepsFactory- Returns:
- new custom build runner instance
-
createGroupContext
@NotNull public GroupStepContextImpl createGroupContext(@NotNull BuildStepDescriptor runner)
Description copied from interface:StepsFactoryCreates build steps group from a given build runner step- Specified by:
createGroupContextin interfaceStepsFactory- Returns:
- new custom build runner instance
-
-