Class PlanIdentifierEmitter
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter<PlanIdentifierProperties>
com.atlassian.bamboo.specs.codegen.emitters.plan.PlanIdentifierEmitter
- All Implemented Interfaces:
CodeEmitter<PlanIdentifierProperties>
public class PlanIdentifierEmitter
extends EntityPropertiesEmitter<PlanIdentifierProperties>
implements CodeEmitter<PlanIdentifierProperties>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter
builderClass, fieldsToSkip
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
emitConstructorInvocation
(@NotNull CodeGenerationContext context, @NotNull PlanIdentifierProperties entity) Generates constructor invocation of the builder class.protected void
initBuilderClass
(@NotNull PlanIdentifierProperties entity) Default method of findingEntityPropertiesEmitter.builderClass
.Methods inherited from class com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter
createDefaultObject, emitCode, emitFields, emitFieldValue, findField, hasPublicConstructor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.specs.api.codegen.CodeEmitter
emitCode
-
Constructor Details
-
PlanIdentifierEmitter
public PlanIdentifierEmitter()
-
-
Method Details
-
initBuilderClass
protected void initBuilderClass(@NotNull @NotNull PlanIdentifierProperties entity) throws CodeGenerationException Description copied from class:EntityPropertiesEmitter
Default method of findingEntityPropertiesEmitter.builderClass
. Extending class can set the field explicitly to skip the default search algorithm.- Overrides:
initBuilderClass
in classEntityPropertiesEmitter<PlanIdentifierProperties>
- Throws:
CodeGenerationException
-
emitConstructorInvocation
protected String emitConstructorInvocation(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull PlanIdentifierProperties entity) throws CodeGenerationException Description copied from class:EntityPropertiesEmitter
Generates constructor invocation of the builder class.- Overrides:
emitConstructorInvocation
in classEntityPropertiesEmitter<PlanIdentifierProperties>
- Throws:
CodeGenerationException
-