Class FieldSetterEmitter<T>
java.lang.Object
com.atlassian.bamboo.specs.codegen.emitters.fragment.FieldSetterEmitter<T>
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.codegen.CodeEmitter<T>
- Direct Known Subclasses:
AuthenticationEmitter,BBCloudRepositorySlugEmitter,DockerConfigurationVolumesEmitter
public class FieldSetterEmitter<T>
extends Object
implements com.atlassian.bamboo.specs.api.codegen.CodeEmitter<T>
Default code generator for any field of
EntityProperties instance.
Implementation should emit full method invocation statement, starting with ".methodName".-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
methodName
-
-
Constructor Details
-
FieldSetterEmitter
-
-
Method Details
-
emitCode
@NotNull public @NotNull String emitCode(@NotNull @NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull T argument) throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException Generates invocation of a setter method with a single argument.- Specified by:
emitCodein interfacecom.atlassian.bamboo.specs.api.codegen.CodeEmitter<T>- Throws:
com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
-