Class YamlEmitterImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.yaml.export.YamlEmitterImpl
- All Implemented Interfaces:
YamlEmitter
-
Constructor Summary
ConstructorDescriptionYamlEmitterImpl
(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper, VcsRepositoryManager repositoryManager, CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper, RepositoryExporter repositoryExporter) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
emitYamlDocuments
(@NotNull List<? extends com.atlassian.bamboo.specs.api.model.EntityProperties> entityPropertiesList) @NotNull String
emitYamlForPlan
(org.yaml.snakeyaml.Yaml yaml, com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties) @NotNull String
emitYamlForPlanPermissions
(@NotNull org.yaml.snakeyaml.Yaml yaml, @NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissions) static @NotNull Object
readProperty
(@NotNull Node node)
-
Constructor Details
-
YamlEmitterImpl
@Inject public YamlEmitterImpl(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper, VcsRepositoryManager repositoryManager, CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper, RepositoryExporter repositoryExporter)
-
-
Method Details
-
emitYamlDocuments
@NotNull public @NotNull String emitYamlDocuments(@NotNull @NotNull List<? extends com.atlassian.bamboo.specs.api.model.EntityProperties> entityPropertiesList) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException - Specified by:
emitYamlDocuments
in interfaceYamlEmitter
- Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-
emitYamlForPlan
@NotNull public @NotNull String emitYamlForPlan(org.yaml.snakeyaml.Yaml yaml, com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException - Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-
emitYamlForPlanPermissions
@NotNull public @NotNull String emitYamlForPlanPermissions(@NotNull @NotNull org.yaml.snakeyaml.Yaml yaml, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissions) -
readProperty
-
comment
-