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 Constructor Description PlanIdentifierEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.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, hasPublicConstructor
-
-
-
-
Method Detail
-
initBuilderClass
protected void initBuilderClass(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties entity) throws com.atlassian.bamboo.specs.api.codegen.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<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>- Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-
emitConstructorInvocation
protected java.lang.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.CodeGenerationExceptionDescription 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
-
-