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 ProjectBuilderImpladdProject(String externalId)voidaddProject(ProjectBuilderImpl project)voidbuild(RawConfigsBuilder rawConfigsBuilder)ProjectBuilderImplcreateProject()ProjectBuilderImplcreateProject(String externalId)ProjectBuilderImplfindProject(String projectExtId)List<ProjectBuilderImpl>getProjects()voidsetDefaultFeatureParameters(String featureType, String innerType, Map<String,String> defaultParams)voidsetDefaultFeatureParameters(String featureType, Map<String,String> defaultParams)voidsetDefaultRunnerParameters(String runnerType, Map<String,String> defaultParams)voidsetDefaultTriggerParameters(String triggerType, Map<String,String> defaultParams)voidsetDefaultVcsParameters(String vcsType, Map<String,String> defaultParams)voidsetProjectConfigVersion(String projectConfigVersion)voidupdateDefaults(DefaultParams defaultParams)
-
-
-
Constructor Detail
-
ProjectsBuilderImpl
public ProjectsBuilderImpl(@NotNull String projectConfigVersion)
-
-
Method Detail
-
addProject
@NotNull public ProjectBuilderImpl addProject(@NotNull String externalId)
- Specified by:
addProjectin 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:
ConfigExceptionIOException
-
getProjects
@NotNull public List<ProjectBuilderImpl> getProjects()
-
findProject
@Nullable public ProjectBuilderImpl findProject(@NotNull String projectExtId)
-
setProjectConfigVersion
public void setProjectConfigVersion(@NotNull String projectConfigVersion)
-
-