public class YamlEmitterImpl extends Object implements YamlEmitter
Constructor and Description |
---|
YamlEmitterImpl(CachedPlanManager cachedPlanManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
TaskDefinitionExportHelper taskDefinitionExporterHelper,
TriggerDefinitionExportHelper triggerDefinitionExportHelper) |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
comment(String commentText) |
String |
emitYamlDocuments(List<? extends com.atlassian.bamboo.specs.api.model.EntityProperties> entityPropertiesList) |
String |
emitYamlForPlan(org.yaml.snakeyaml.Yaml yaml,
com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties) |
String |
emitYamlForPlanPermissions(org.yaml.snakeyaml.Yaml yaml,
com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissions) |
static Object |
readProperty(Node node) |
@Inject public YamlEmitterImpl(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper)
@NotNull public String emitYamlDocuments(@NotNull List<? extends com.atlassian.bamboo.specs.api.model.EntityProperties> entityPropertiesList) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
emitYamlDocuments
in interface YamlEmitter
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
@NotNull public String emitYamlForPlan(org.yaml.snakeyaml.Yaml yaml, com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
@NotNull public String emitYamlForPlanPermissions(@NotNull org.yaml.snakeyaml.Yaml yaml, @NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissions)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.