@ExperimentalApi
public interface SpecsExporter
Modifier and Type | Interface and Description |
---|---|
static class |
SpecsExporter.ExportFormat |
Modifier and Type | Method and Description |
---|---|
String |
getCodeFromDeploymentProject(DeploymentProject deploymentProject,
SpecsExporter.ExportFormat format,
String packageName,
String className)
Convert a deployment plan to a Java Bamboo Spec
|
String |
getCodeFromPlan(ImmutableTopLevelPlan immutableTopLevelPlan)
Delegates to
getCodeFromPlan(ImmutableTopLevelPlan, ExportFormat, String, String) with a default packageName and className |
String |
getCodeFromPlan(ImmutableTopLevelPlan immutableTopLevelPlan,
SpecsExporter.ExportFormat format,
String packageName,
String className)
Convert a plan to a Java Bamboo Spec
|
String getCodeFromPlan(ImmutableTopLevelPlan immutableTopLevelPlan) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
getCodeFromPlan(ImmutableTopLevelPlan, ExportFormat, String, String)
with a default packageName and classNameimmutableTopLevelPlan
- com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
String getCodeFromPlan(ImmutableTopLevelPlan immutableTopLevelPlan, SpecsExporter.ExportFormat format, @Nullable String packageName, @Nullable String className) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
immutableTopLevelPlan
- The top level plan to extractformat
- specs format (Java or YAML)packageName
- The package to put the spec inclassName
- The class name for the speccom.atlassian.bamboo.specs.api.codegen.CodeGenerationException
- if generating the file failsString getCodeFromDeploymentProject(DeploymentProject deploymentProject, SpecsExporter.ExportFormat format, String packageName, String className) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
deploymentProject
- The top level plan to extractformat
- specs format (Java or YAML)packageName
- The package to put the spec inclassName
- The class name for the speccom.atlassian.bamboo.specs.api.codegen.CodeGenerationException
- if generating the file failsCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.