Class CheckoutSpecEmitter
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter<CheckoutItemProperties>
com.atlassian.bamboo.specs.codegen.emitters.task.CheckoutSpecEmitter
- All Implemented Interfaces:
CodeEmitter<CheckoutItemProperties>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.codegen.emitters.value.EntityPropertiesEmitter
builderClass, fieldsToSkip -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringemitCode(@NotNull CodeGenerationContext context, @NotNull CheckoutItemProperties 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
-
CheckoutSpecEmitter
public CheckoutSpecEmitter()
-
-
Method Details
-
emitCode
@NotNull public @NotNull String emitCode(@NotNull @NotNull CodeGenerationContext context, @NotNull @NotNull CheckoutItemProperties entity) throws CodeGenerationException Description copied from class:EntityPropertiesEmitterGenerates code for properties class. This includes generating invocation of the constructor of the appropriate builder followed by invocations of its setters.- Specified by:
emitCodein interfaceCodeEmitter<CheckoutItemProperties>- Overrides:
emitCodein classEntityPropertiesEmitter<CheckoutItemProperties>- Throws:
CodeGenerationException
-