Class BambooYamlToSpecsConverterImpl

    • Constructor Detail

      • BambooYamlToSpecsConverterImpl

        public BambooYamlToSpecsConverterImpl()
    • 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 specs Plan for the given YAML plan definition.
        Specified by:
        createPlan in interface BambooYamlToSpecsConverter
        Parameters:
        yamlPlan - YAML definition of a plan, created by parsing the YAML document
        repository - 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 specs Deployment for the given YAML deployment definition.
        Specified by:
        createDeploymentProject in interface BambooYamlToSpecsConverter
        Parameters:
        deploymentDefinition - YAML definition of a deployment project, created by parsing the YAML document
        repository - 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 specs PlanPermissions for the given YAML plan permissions definition.
        Specified by:
        createPlanPermissions in interface BambooYamlToSpecsConverter
        Parameters:
        planPermissionsDefinition - YAML definition of plan permissions, created by parsing the YAML document
        Returns:
        Bamboo Specs plan permissions representing the YAML document