Class BambooSpecsGenerator
java.lang.Object
com.atlassian.bamboo.specs.codegen.BambooSpecsGenerator
Code generator for any Bamboo Spec entities, such us plan or deployment project.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
Represents a comment in Bamboo Specs. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEntity
(String entityName, EntityProperties entityProperties) emitCode()
static void
-
Constructor Details
-
BambooSpecsGenerator
public BambooSpecsGenerator() -
BambooSpecsGenerator
- Throws:
PropertiesValidationException
-
-
Method Details
-
addEntity
public BambooSpecsGenerator addEntity(String entityName, EntityProperties entityProperties) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
emitCode
- Throws:
CodeGenerationException
-
emitCode
- Throws:
CodeGenerationException
-
emitCode
public String emitCode(@NotNull @NotNull String bambooServerUrl, @NotNull @NotNull String packageName, @NotNull @NotNull String className) throws CodeGenerationException - Throws:
CodeGenerationException
-
main
-