Class PlanIdentifierEmitter
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>
com.atlassian.bamboo.specs.codegen.emitters.plan.PlanIdentifierEmitter
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.codegen.CodeEmitter<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>
public class PlanIdentifierEmitter
extends EntityPropertiesEmitter<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>
implements com.atlassian.bamboo.specs.api.codegen.CodeEmitter<com.atlassian.bamboo.specs.api.model.plan.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 com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties entity) Generates constructor invocation of the builder class.protected voidinitBuilderClass(@NotNull com.atlassian.bamboo.specs.api.model.plan.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 com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties entity) throws com.atlassian.bamboo.specs.api.codegen.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<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>- Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-
emitConstructorInvocation
protected String emitConstructorInvocation(@NotNull @NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties entity) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException Description copied from class:EntityPropertiesEmitterGenerates constructor invocation of the builder class.- Overrides:
emitConstructorInvocationin classEntityPropertiesEmitter<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>- Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-