Class 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>
    • Constructor Detail

      • PlanIdentifierEmitter

        public PlanIdentifierEmitter()
    • Method Detail

      • 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: EntityPropertiesEmitter
        Default method of finding EntityPropertiesEmitter.builderClass. Extending class can set the field explicitly to skip the default search algorithm.
        Overrides:
        initBuilderClass in class EntityPropertiesEmitter<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.CodeGenerationException
        Description copied from class: EntityPropertiesEmitter
        Generates constructor invocation of the builder class.
        Overrides:
        emitConstructorInvocation in class EntityPropertiesEmitter<com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties>
        Throws:
        com.atlassian.bamboo.specs.api.codegen.CodeGenerationException