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
Constructors Constructor Description PlanIdentifierEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringemitConstructorInvocation(@NotNull CodeGenerationContext context, @NotNull PlanIdentifierProperties entity)Generates constructor invocation of the builder class.protected voidinitBuilderClass(@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
-
-
-
-
Method Detail
-
initBuilderClass
protected void initBuilderClass(@NotNull @NotNull PlanIdentifierProperties entity) throws CodeGenerationExceptionDescription copied from class:EntityPropertiesEmitterDefault method of findingEntityPropertiesEmitter.builderClass. Extending class can set the field explicitly to skip the default search algorithm.- Overrides:
initBuilderClassin classEntityPropertiesEmitter<PlanIdentifierProperties>- Throws:
CodeGenerationException
-
emitConstructorInvocation
protected java.lang.String emitConstructorInvocation(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull PlanIdentifierProperties entity) throws CodeGenerationExceptionDescription copied from class:EntityPropertiesEmitterGenerates constructor invocation of the builder class.- Overrides:
emitConstructorInvocationin classEntityPropertiesEmitter<PlanIdentifierProperties>- Throws:
CodeGenerationException
-
-