jetbrains.buildServer.serverSide
Interface BuildRunnerDescriptorFactory


public interface BuildRunnerDescriptorFactory

Factory for SBuildRunnerDescriptor


Method Summary
 SBuildRunnerDescriptor createBuildRunner(SProject project, BuildRunnerDescriptor descriptor)
          created a copy of given SBuildRunnerDescriptor with substituted settings
 SBuildRunnerDescriptor createBuildRunner(SProject project, BuildRunnerDescriptor descriptor, java.util.Map<java.lang.String,java.lang.String> runnerParameters, java.util.Map<java.lang.String,java.lang.String> buildParameters)
          created a copy of given SBuildRunnerDescriptor with substituted settings
 SBuildRunnerDescriptor createBuildRunner(SProject project, java.lang.String id, java.lang.String name, java.lang.String runnerType, java.util.Map<java.lang.String,java.lang.String> runnerParameters)
          Creates new build runner descriptor with specified id and params
 SBuildRunnerDescriptor createBuildRunner(SProject project, java.lang.String id, java.lang.String name, java.lang.String runnerType, java.util.Map<java.lang.String,java.lang.String> runnerParameters, java.util.Map<java.lang.String,java.lang.String> buildParameters)
          Creates new build runner descriptor with specified id and params
 SBuildRunnerDescriptor createNewBuildRunner(SProject project, java.lang.String name, java.lang.String runnerType, java.util.Map<java.lang.String,java.lang.String> runnerParameters)
          Creates new SBuildRunnerDescriptor
 SBuildRunnerDescriptor createNewBuildRunner(SProject project, java.lang.String name, java.lang.String runnerType, java.util.Map<java.lang.String,java.lang.String> runnerParameters, java.util.Map<java.lang.String,java.lang.String> buildParameters)
          Creates new SBuildRunnerDescriptor
 

Method Detail

createNewBuildRunner

@NotNull
SBuildRunnerDescriptor createNewBuildRunner(@NotNull
                                                    SProject project,
                                                    @NotNull
                                                    java.lang.String name,
                                                    @NotNull
                                                    java.lang.String runnerType,
                                                    @NotNull
                                                    java.util.Map<java.lang.String,java.lang.String> runnerParameters)
Creates new SBuildRunnerDescriptor

Parameters:
name - runner settings name
runnerType - type of the runner
runnerParameters - parameters of the runner
Returns:
newly created SBuildRunnerDescriptor
Since:
6.5

createNewBuildRunner

@NotNull
SBuildRunnerDescriptor createNewBuildRunner(@NotNull
                                                    SProject project,
                                                    @NotNull
                                                    java.lang.String name,
                                                    @NotNull
                                                    java.lang.String runnerType,
                                                    @NotNull
                                                    java.util.Map<java.lang.String,java.lang.String> runnerParameters,
                                                    @NotNull
                                                    java.util.Map<java.lang.String,java.lang.String> buildParameters)
Creates new SBuildRunnerDescriptor

Parameters:
name - runner settings name
runnerType - type of the runner
runnerParameters - parameters of the runner
buildParameters - build parameters parameters of the runner
Returns:
newly created SBuildRunnerDescriptor
Since:
8.0

createBuildRunner

@NotNull
SBuildRunnerDescriptor createBuildRunner(@NotNull
                                                 SProject project,
                                                 @NotNull
                                                 java.lang.String id,
                                                 @NotNull
                                                 java.lang.String name,
                                                 @NotNull
                                                 java.lang.String runnerType,
                                                 @NotNull
                                                 java.util.Map<java.lang.String,java.lang.String> runnerParameters)
Creates new build runner descriptor with specified id and params

Parameters:
id - id of the runner settings
name - runner settings name
runnerType - type of the runner
runnerParameters - parameters of the runner
Returns:
new build runner descriptor
Since:
6.5

createBuildRunner

@NotNull
SBuildRunnerDescriptor createBuildRunner(@NotNull
                                                 SProject project,
                                                 @NotNull
                                                 java.lang.String id,
                                                 @NotNull
                                                 java.lang.String name,
                                                 @NotNull
                                                 java.lang.String runnerType,
                                                 @NotNull
                                                 java.util.Map<java.lang.String,java.lang.String> runnerParameters,
                                                 @NotNull
                                                 java.util.Map<java.lang.String,java.lang.String> buildParameters)
Creates new build runner descriptor with specified id and params

Parameters:
id - id of the runner settings
name - runner settings name
runnerType - type of the runner
runnerParameters - parameters of the runner
buildParameters - build parameters parameters of the runner
Returns:
new build runner descriptor
Since:
8.0

createBuildRunner

@NotNull
SBuildRunnerDescriptor createBuildRunner(@NotNull
                                                 SProject project,
                                                 @NotNull
                                                 BuildRunnerDescriptor descriptor,
                                                 @NotNull
                                                 java.util.Map<java.lang.String,java.lang.String> runnerParameters,
                                                 @NotNull
                                                 java.util.Map<java.lang.String,java.lang.String> buildParameters)
created a copy of given SBuildRunnerDescriptor with substituted settings

Parameters:
descriptor -
runnerParameters -
buildParameters -
Returns:
resolved parameters
Since:
8.0

createBuildRunner

@NotNull
SBuildRunnerDescriptor createBuildRunner(@NotNull
                                                 SProject project,
                                                 @NotNull
                                                 BuildRunnerDescriptor descriptor)
created a copy of given SBuildRunnerDescriptor with substituted settings

Parameters:
descriptor -
runnerParameters -
buildParameters -
Returns:
resolved parameters
Since:
8.0