Class BambooSpecsGenerator
- java.lang.Object
-
- com.atlassian.bamboo.specs.codegen.BambooSpecsGenerator
-
public class BambooSpecsGenerator extends java.lang.ObjectCode generator for any Bamboo Spec entities, such us plan or deployment project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBambooSpecsGenerator.CodeSupplierstatic classBambooSpecsGenerator.CommentRepresents a comment in Bamboo Specs.
-
Constructor Summary
Constructors Constructor Description BambooSpecsGenerator()BambooSpecsGenerator(EntityProperties entityProperties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BambooSpecsGeneratoraddEntity(java.lang.String entityName, EntityProperties entityProperties)java.lang.StringemitCode()java.lang.StringemitCode(@NotNull java.lang.String bambooServerUrl)java.lang.StringemitCode(@NotNull java.lang.String bambooServerUrl, @NotNull java.lang.String packageName, @NotNull java.lang.String className)static voidmain(java.lang.String... argv)
-
-
-
Constructor Detail
-
BambooSpecsGenerator
public BambooSpecsGenerator()
-
BambooSpecsGenerator
public BambooSpecsGenerator(EntityProperties entityProperties) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
addEntity
public BambooSpecsGenerator addEntity(java.lang.String entityName, EntityProperties entityProperties) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
emitCode
public java.lang.String emitCode() throws CodeGenerationException- Throws:
CodeGenerationException
-
emitCode
public java.lang.String emitCode(@NotNull @NotNull java.lang.String bambooServerUrl) throws CodeGenerationException- Throws:
CodeGenerationException
-
emitCode
public java.lang.String emitCode(@NotNull @NotNull java.lang.String bambooServerUrl, @NotNull @NotNull java.lang.String packageName, @NotNull @NotNull java.lang.String className) throws CodeGenerationException- Throws:
CodeGenerationException
-
main
public static void main(java.lang.String... argv)
-
-