Package jetbrains.buildServer.serverSide
Interface BuildRunnerDescriptorFactory
-
- All Known Implementing Classes:
BuildRunnerDescriptorFactoryImpl
public interface BuildRunnerDescriptorFactory
Factory forSBuildRunnerDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SBuildRunnerDescriptor
createBuildRunner(SProject project, String id, String name, String runnerType, Map<String,String> runnerParameters)
Creates new build runner descriptor with specified id and paramsSBuildRunnerDescriptor
createBuildRunner(SProject project, String id, String name, String runnerType, Map<String,String> runnerParameters, Map<String,String> buildParameters)
Creates new build runner descriptor with specified id and paramsSBuildRunnerDescriptor
createBuildRunner(SProject project, BuildRunnerDescriptor descriptor)
created a copy of givenSBuildRunnerDescriptor
with substituted settingsSBuildRunnerDescriptor
createBuildRunner(SProject project, BuildRunnerDescriptor descriptor, Map<String,String> runnerParameters, Map<String,String> buildParameters)
created a copy of givenSBuildRunnerDescriptor
with substituted settingsSBuildRunnerDescriptor
createNewBuildRunner(SProject project, String name, String runnerType, Map<String,String> runnerParameters)
Creates newSBuildRunnerDescriptor
SBuildRunnerDescriptor
createNewBuildRunner(SProject project, String name, String runnerType, Map<String,String> runnerParameters, Map<String,String> buildParameters)
Creates newSBuildRunnerDescriptor
-
-
-
Method Detail
-
createNewBuildRunner
@NotNull SBuildRunnerDescriptor createNewBuildRunner(@NotNull SProject project, @NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters)
Creates newSBuildRunnerDescriptor
- Parameters:
name
- runner settings namerunnerType
- type of the runnerrunnerParameters
- parameters of the runner- Returns:
- newly created
SBuildRunnerDescriptor
- Since:
- 6.5
-
createNewBuildRunner
@NotNull SBuildRunnerDescriptor createNewBuildRunner(@NotNull SProject project, @NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters, @NotNull Map<String,String> buildParameters)
Creates newSBuildRunnerDescriptor
- Parameters:
name
- runner settings namerunnerType
- type of the runnerrunnerParameters
- parameters of the runnerbuildParameters
- build parameters of the runner- Returns:
- newly created
SBuildRunnerDescriptor
- Since:
- 8.0
-
createBuildRunner
@NotNull SBuildRunnerDescriptor createBuildRunner(@NotNull SProject project, @NotNull String id, @NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters)
Creates new build runner descriptor with specified id and params- Parameters:
id
- id of the runner settingsname
- runner settings namerunnerType
- type of the runnerrunnerParameters
- parameters of the runner- Returns:
- new build runner descriptor
- Since:
- 6.5
-
createBuildRunner
@NotNull SBuildRunnerDescriptor createBuildRunner(@NotNull SProject project, @NotNull String id, @NotNull String name, @NotNull String runnerType, @NotNull Map<String,String> runnerParameters, @NotNull Map<String,String> buildParameters)
Creates new build runner descriptor with specified id and params- Parameters:
id
- id of the runner settingsname
- runner settings namerunnerType
- type of the runnerrunnerParameters
- parameters of the runnerbuildParameters
- 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 Map<String,String> runnerParameters, @NotNull Map<String,String> buildParameters)
created a copy of givenSBuildRunnerDescriptor
with substituted settings- Parameters:
descriptor
- build runner descriptorrunnerParameters
- runner parametersbuildParameters
- build parameters- Returns:
- resolved parameters
- Since:
- 8.0
-
createBuildRunner
@NotNull SBuildRunnerDescriptor createBuildRunner(@NotNull SProject project, @NotNull BuildRunnerDescriptor descriptor)
created a copy of givenSBuildRunnerDescriptor
with substituted settings- Parameters:
descriptor
- build runner descriptor- Returns:
- resolved parameters
- Since:
- 8.0
-
-