public class YamlEmitterImpl extends Object implements YamlEmitter
Constructor and Description |
---|
YamlEmitterImpl(CachedPlanManager cachedPlanManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
TaskDefinitionExportHelper taskDefinitionExporterHelper,
TriggerDefinitionExportHelper triggerDefinitionExportHelper,
VcsRepositoryManager repositoryManager,
CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper,
RepositoryExporter repositoryExporter) |
Modifier and Type | Method and 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) |
@Inject public YamlEmitterImpl(CachedPlanManager cachedPlanManager, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskDefinitionExportHelper taskDefinitionExporterHelper, TriggerDefinitionExportHelper triggerDefinitionExportHelper, VcsRepositoryManager repositoryManager, CustomEnvironmentPluginExportHelper customEnvironmentPluginExportHelper, RepositoryExporter repositoryExporter)
@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
emitYamlDocuments
in interface YamlEmitter
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
@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
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
@NotNull public @NotNull String emitYamlForPlanPermissions(@NotNull @NotNull org.yaml.snakeyaml.Yaml yaml, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissions)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.