Class BuildFeatureYamlInProjectStorage
- java.lang.Object
-
- jetbrains.buildServer.pipeline.internal.impl.BuildFeatureYamlInProjectStorage
-
- All Implemented Interfaces:
YamlInProjectStorage
@Service public class BuildFeatureYamlInProjectStorage extends Object implements YamlInProjectStorage
-
-
Constructor Summary
Constructors Constructor Description BuildFeatureYamlInProjectStorage(ProjectManager projectManager, PipelineHeadManager headManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addYamlInProject(String projectId, String yaml)
static HashMap<String,String>
getBuildFeatureParameters(String yaml, String version)
PipelineYamlSnapshot
getPipelineYamlSnapshot(String projectId)
String
getYamlFromPromotion(BuildPromotion buildPromotion)
void
updateYamlInProject(String projectId, String yaml)
void
updateYamlInProject(ProjectBuilderImpl projectBuilder, String yaml)
-
-
-
Constructor Detail
-
BuildFeatureYamlInProjectStorage
public BuildFeatureYamlInProjectStorage(@NotNull ProjectManager projectManager, @NotNull PipelineHeadManager headManager)
-
-
Method Detail
-
getPipelineYamlSnapshot
@NotNull public PipelineYamlSnapshot getPipelineYamlSnapshot(@NotNull String projectId)
- Specified by:
getPipelineYamlSnapshot
in interfaceYamlInProjectStorage
-
getYamlFromPromotion
@Nullable public String getYamlFromPromotion(@NotNull BuildPromotion buildPromotion)
- Specified by:
getYamlFromPromotion
in interfaceYamlInProjectStorage
-
addYamlInProject
public void addYamlInProject(@NotNull String projectId, @NotNull String yaml)
- Specified by:
addYamlInProject
in interfaceYamlInProjectStorage
-
updateYamlInProject
public void updateYamlInProject(@NotNull String projectId, @NotNull String yaml)
- Specified by:
updateYamlInProject
in interfaceYamlInProjectStorage
-
updateYamlInProject
public void updateYamlInProject(@NotNull ProjectBuilderImpl projectBuilder, @NotNull String yaml)
- Specified by:
updateYamlInProject
in interfaceYamlInProjectStorage
-
-