Package jetbrains.buildServer.configs
Class ProjectsBuilderImpl
- java.lang.Object
-
- jetbrains.buildServer.configs.ProjectsBuilderImpl
-
- All Implemented Interfaces:
ProjectsBuilder
public class ProjectsBuilderImpl extends Object implements ProjectsBuilder
-
-
Constructor Summary
Constructors Constructor Description ProjectsBuilderImpl(String projectConfigVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectBuilderImpl
addProject(String externalId)
void
addProject(ProjectBuilderImpl project)
void
build(RawConfigsBuilder rawConfigsBuilder)
ProjectBuilderImpl
createProject()
ProjectBuilderImpl
createProject(String externalId)
ProjectBuilderImpl
findProject(String projectExtId)
List<ProjectBuilderImpl>
getProjects()
void
setDefaultFeatureParameters(String featureType, String innerType, Map<String,String> defaultParams)
void
setDefaultFeatureParameters(String featureType, Map<String,String> defaultParams)
void
setDefaultRunnerParameters(String runnerType, Map<String,String> defaultParams)
void
setDefaultTriggerParameters(String triggerType, Map<String,String> defaultParams)
void
setDefaultVcsParameters(String vcsType, Map<String,String> defaultParams)
void
setProjectConfigVersion(String projectConfigVersion)
void
updateDefaults(DefaultParams defaultParams)
-
-
-
Constructor Detail
-
ProjectsBuilderImpl
public ProjectsBuilderImpl(@NotNull String projectConfigVersion)
-
-
Method Detail
-
addProject
@NotNull public ProjectBuilderImpl addProject(@NotNull String externalId)
- Specified by:
addProject
in interfaceProjectsBuilder
-
createProject
@NotNull public ProjectBuilderImpl createProject()
-
createProject
@NotNull public ProjectBuilderImpl createProject(@NotNull String externalId)
-
addProject
public void addProject(@NotNull ProjectBuilderImpl project)
-
updateDefaults
public void updateDefaults(DefaultParams defaultParams)
-
setDefaultVcsParameters
public void setDefaultVcsParameters(@NotNull String vcsType, @NotNull Map<String,String> defaultParams)
-
setDefaultRunnerParameters
public void setDefaultRunnerParameters(@NotNull String runnerType, @NotNull Map<String,String> defaultParams)
-
setDefaultTriggerParameters
public void setDefaultTriggerParameters(@NotNull String triggerType, @NotNull Map<String,String> defaultParams)
-
setDefaultFeatureParameters
public void setDefaultFeatureParameters(@NotNull String featureType, @NotNull Map<String,String> defaultParams)
-
setDefaultFeatureParameters
public void setDefaultFeatureParameters(@NotNull String featureType, @NotNull String innerType, @NotNull Map<String,String> defaultParams)
-
build
public void build(@NotNull RawConfigsBuilder rawConfigsBuilder) throws ConfigException, IOException
- Throws:
ConfigException
IOException
-
getProjects
@NotNull public List<ProjectBuilderImpl> getProjects()
-
findProject
@Nullable public ProjectBuilderImpl findProject(@NotNull String projectExtId)
-
setProjectConfigVersion
public void setProjectConfigVersion(@NotNull String projectConfigVersion)
-
-