Class AnyVcsRepositoryViewerEmitter
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter<AnyVcsRepositoryViewerProperties>
com.atlassian.bamboo.specs.codegen.emitters.repository.viewer.AnyVcsRepositoryViewerEmitter
- All Implemented Interfaces:
CodeEmitter<AnyVcsRepositoryViewerProperties>
public class AnyVcsRepositoryViewerEmitter
extends EntityPropertiesEmitter<AnyVcsRepositoryViewerProperties>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter
builderClass, fieldsToSkip
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
emitCode
(@NotNull CodeGenerationContext context, @NotNull AnyVcsRepositoryViewerProperties entity) Generates code for properties class.Methods inherited from class com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter
createDefaultObject, emitConstructorInvocation, emitFields, emitFieldValue, findField, hasPublicConstructor, initBuilderClass
-
Constructor Details
-
AnyVcsRepositoryViewerEmitter
public AnyVcsRepositoryViewerEmitter()
-
-
Method Details
-
emitCode
@NotNull public @NotNull String emitCode(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull AnyVcsRepositoryViewerProperties entity) throws 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 interfaceCodeEmitter<AnyVcsRepositoryViewerProperties>
- Overrides:
emitCode
in classEntityPropertiesEmitter<AnyVcsRepositoryViewerProperties>
- Throws:
CodeGenerationException
-