Class BambooYamlToSpecsConverterImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.yaml.BambooYamlToSpecsConverterImpl
-
- All Implemented Interfaces:
BambooYamlToSpecsConverter
public class BambooYamlToSpecsConverterImpl extends Object implements BambooYamlToSpecsConverter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.configuration.external.yaml.BambooYamlToSpecsConverter
BambooYamlToSpecsConverter.CombinedDeploymentPermissions
-
-
Constructor Summary
Constructors Constructor Description BambooYamlToSpecsConverterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BambooYamlToSpecsConverter.CombinedDeploymentPermissions
createDeploymentPermissions(@NotNull BambooYamlDeploymentPermissionsDefinition deploymentPermissionsDefinition)
Create a new instance of a specsDeploymentPermissions
for the given YAML deployment project permissions definition.@NotNull com.atlassian.bamboo.specs.api.builders.deployment.Deployment
createDeploymentProject(@NotNull BambooYamlDeploymentDefinition deploymentDefinition, @NotNull VcsRepositoryData repository)
Create a new instance of a specsDeployment
for the given YAML deployment definition.@NotNull com.atlassian.bamboo.specs.api.builders.plan.Plan
createPlan(@NotNull BambooYamlPlanDefinition yamlPlan, @NotNull VcsRepositoryData repository)
Create a new instance of a specsPlan
for the given YAML plan definition.@NotNull com.atlassian.bamboo.specs.api.builders.permission.PlanPermissions
createPlanPermissions(@NotNull BambooYamlPlanPermissionsDefinition planPermissionsDefinition)
Create a new instance of a specsPlanPermissions
for the given YAML plan permissions definition.
-
-
-
Method Detail
-
createPlan
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.plan.Plan createPlan(@NotNull @NotNull BambooYamlPlanDefinition yamlPlan, @NotNull @NotNull VcsRepositoryData repository)
Description copied from interface:BambooYamlToSpecsConverter
Create a new instance of a specsPlan
for the given YAML plan definition.- Specified by:
createPlan
in interfaceBambooYamlToSpecsConverter
- Parameters:
yamlPlan
- YAML definition of a plan, created by parsing the YAML documentrepository
- VCS repository hosting the YAML document- Returns:
- Bamboo Specs plan representing the YAML document
-
createDeploymentProject
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.deployment.Deployment createDeploymentProject(@NotNull @NotNull BambooYamlDeploymentDefinition deploymentDefinition, @NotNull @NotNull VcsRepositoryData repository)
Description copied from interface:BambooYamlToSpecsConverter
Create a new instance of a specsDeployment
for the given YAML deployment definition.- Specified by:
createDeploymentProject
in interfaceBambooYamlToSpecsConverter
- Parameters:
deploymentDefinition
- YAML definition of a deployment project, created by parsing the YAML documentrepository
- VCS repository hosting the YAML document- Returns:
- Bamboo Specs deployment representing the YAML document
-
createPlanPermissions
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.permission.PlanPermissions createPlanPermissions(@NotNull @NotNull BambooYamlPlanPermissionsDefinition planPermissionsDefinition)
Description copied from interface:BambooYamlToSpecsConverter
Create a new instance of a specsPlanPermissions
for the given YAML plan permissions definition.- Specified by:
createPlanPermissions
in interfaceBambooYamlToSpecsConverter
- Parameters:
planPermissionsDefinition
- YAML definition of plan permissions, created by parsing the YAML document- Returns:
- Bamboo Specs plan permissions representing the YAML document
-
createDeploymentPermissions
@NotNull public @NotNull BambooYamlToSpecsConverter.CombinedDeploymentPermissions createDeploymentPermissions(@NotNull @NotNull BambooYamlDeploymentPermissionsDefinition deploymentPermissionsDefinition)
Description copied from interface:BambooYamlToSpecsConverter
Create a new instance of a specsDeploymentPermissions
for the given YAML deployment project permissions definition.- Specified by:
createDeploymentPermissions
in interfaceBambooYamlToSpecsConverter
- Parameters:
deploymentPermissionsDefinition
- YAML definition of deployment project permissions, created by parsing the YAML document- Returns:
- Bamboo Specs deployment project permissions representing the YAML document
-
-