Class BaseVcsTaskEmitter<T extends BaseVcsTaskProperties>

java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter<T>
com.atlassian.bamboo.specs.codegen.emitters.task.BaseVcsTaskEmitter<T>
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.codegen.CodeEmitter<T>
Direct Known Subclasses:
VcsBranchTaskEmitter, VcsCommitTaskEmitter, VcsPushTaskEmitter, VcsTagTaskEmitter

public class BaseVcsTaskEmitter<T extends BaseVcsTaskProperties> extends EntityPropertiesEmitter<T>
  • Constructor Details

    • BaseVcsTaskEmitter

      public BaseVcsTaskEmitter()
  • Method Details

    • emitCode

      @NotNull public @NotNull String emitCode(@NotNull @NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull T entity) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
      Description copied from class: EntityPropertiesEmitter
      Generates code for properties class. This includes generating invocation of the constructor of the appropriate builder followed by invocations of its setters.
      Specified by:
      emitCode in interface com.atlassian.bamboo.specs.api.codegen.CodeEmitter<T extends BaseVcsTaskProperties>
      Overrides:
      emitCode in class EntityPropertiesEmitter<T extends BaseVcsTaskProperties>
      Throws:
      com.atlassian.bamboo.specs.api.codegen.CodeGenerationException