Class YamlEmitterImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.yaml.export.YamlEmitterImpl
-
- All Implemented Interfaces:
YamlEmitter
public class YamlEmitterImpl extends Object implements YamlEmitter
-
-
Constructor Summary
Constructors Constructor Description YamlEmitterImpl(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper, VcsRepositoryManager repositoryManager, CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper, RepositoryExporter repositoryExporter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
comment(String commentText)
@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 Detail
-
YamlEmitterImpl
@Inject public YamlEmitterImpl(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper, VcsRepositoryManager repositoryManager, CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper, RepositoryExporter repositoryExporter)
-
-
Method Detail
-
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)
-
-