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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, hasPublicConstructorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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: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 String emitConstructorInvocation(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull PlanIdentifierProperties entity) throws CodeGenerationException Description copied from class:EntityPropertiesEmitterGenerates constructor invocation of the builder class.- Overrides:
emitConstructorInvocationin classEntityPropertiesEmitter<PlanIdentifierProperties>- Throws:
CodeGenerationException
-