Modifier and Type | Method and Description |
---|---|
String |
CodeEmitter.emitCode(CodeGenerationContext context,
T value) |
Modifier and Type | Method and Description |
---|---|
String |
BambooSpecsGenerator.emitCode() |
String |
BambooSpecsGenerator.emitCode(String bambooServerUrl) |
String |
BambooSpecsGenerator.emitCode(String bambooServerUrl,
String packageName,
String className) |
static Class |
BuilderClassProvider.findBuilderClass(Class entityClass)
Find a Bamboo Specs builder class producing specific entity.
|
String |
BambooSpecsGenerator.CodeSupplier.generateCode() |
Modifier and Type | Method and Description |
---|---|
static <T> CodeEmitter<T> |
CodeGenerationUtils.findEmitterByAnnotation(AnnotatedElement annotatedElement)
Checks if a field or class has a code generator specified by an annotation.
|
Modifier and Type | Method and Description |
---|---|
String |
SharedCredentialsIdentifierEmitter.emitCode(CodeGenerationContext context,
SharedCredentialsIdentifierProperties entity) |
Modifier and Type | Method and Description |
---|---|
String |
DockerConfigurationVolumesEmitter.emitCode(CodeGenerationContext context,
Map<String,String> volumes) |
Modifier and Type | Method and Description |
---|---|
String |
VarargArgumentSetterEmitter.emitCode(CodeGenerationContext context,
Iterable<Object> iterable)
Generates invocation of a setter method with a variable length argument list.
|
String |
SecretSetterEmitter.emitCode(CodeGenerationContext context,
Object argument) |
String |
NoArgCallEmitter.emitCode(CodeGenerationContext context,
T value) |
String |
FieldSetterEmitter.emitCode(CodeGenerationContext context,
T argument)
Generates invocation of a setter method with a single argument.
|
static CodeEmitter<Object> |
FieldSetterEmitterFactory.fieldSetterEmitterFor(CodeGenerationContext context,
Class<?> builderClass,
Field field,
Object fieldValue) |
Modifier and Type | Method and Description |
---|---|
String |
AnyNotificationRecipientEmitter.emitCode(CodeGenerationContext context,
AnyNotificationRecipientProperties entity) |
String |
AnyNotificationTypeEmitter.emitCode(CodeGenerationContext context,
AnyNotificationTypeProperties entity) |
String |
BuildErrorNotificationEmitter.emitCode(CodeGenerationContext context,
Boolean value) |
Modifier and Type | Method and Description |
---|---|
String |
PermissionPropertiesEmitter.emitCode(CodeGenerationContext context,
PermissionsProperties permissionProperties) |
Modifier and Type | Method and Description |
---|---|
String |
PlanForceStopBuildEmitter.emitCode(CodeGenerationContext context,
Boolean value) |
String |
PlanLabelsEmitter.emitCode(CodeGenerationContext context,
Iterable<LabelProperties> value) |
String |
PlanRepositoriesEmitter.emitCode(CodeGenerationContext context,
Iterable<PlanRepositoryLinkProperties> value) |
protected String |
PlanIdentifierEmitter.emitConstructorInvocation(CodeGenerationContext context,
PlanIdentifierProperties entity) |
protected void |
PlanIdentifierEmitter.initBuilderClass(PlanIdentifierProperties entity) |
Modifier and Type | Method and Description |
---|---|
String |
BranchCleanupEmitter.emitCode(CodeGenerationContext context,
BranchCleanupProperties entity) |
String |
CreatePlanBranchesEmitter.emitCode(CodeGenerationContext context,
CreatePlanBranchesProperties value) |
String |
NotificationStrategyEmitter.emitCode(CodeGenerationContext context,
PlanBranchManagementProperties.NotificationStrategy value) |
String |
TriggeringOptionEmitter.emitCode(CodeGenerationContext context,
PlanBranchManagementProperties.TriggeringOption value) |
Modifier and Type | Method and Description |
---|---|
String |
AuthenticationEmitter.emitCode(CodeGenerationContext context,
AuthenticationProperties value) |
String |
BBCloudRepositorySlugEmitter.emitCode(CodeGenerationContext context,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
AnyVcsRepositoryViewerEmitter.emitCode(CodeGenerationContext context,
AnyVcsRepositoryViewerProperties entity) |
Modifier and Type | Method and Description |
---|---|
String |
ScheduledTriggerEmitter.emitCode(CodeGenerationContext context,
ScheduledTriggerProperties entity) |
Modifier and Type | Method and Description |
---|---|
String |
DurationEmitter.emitCode(CodeGenerationContext context,
Duration value) |
String |
MapEmitter.emitCode(CodeGenerationContext context,
Map<?,?> value) |
String |
LiteralEmitter.emitCode(CodeGenerationContext context,
Object value) |
String |
SetEmitter.emitCode(CodeGenerationContext context,
Set<?> set) |
String |
EntityPropertiesEmitter.emitCode(CodeGenerationContext context,
T entity)
Generates code for properties class.
|
protected String |
EntityPropertiesEmitter.emitConstructorInvocation(CodeGenerationContext context,
T entity)
Generates constructor invocation of the builder class.
|
protected String |
EntityPropertiesEmitter.emitFields(CodeGenerationContext context,
EntityProperties entity)
Generate code for all fields of the class that are not already covered by
EntityPropertiesEmitter.emitConstructorInvocation(CodeGenerationContext, EntityProperties)
not contained in EntityPropertiesEmitter.fieldsToSkip and not annotated with SkipCodeGen . |
protected String |
EntityPropertiesEmitter.emitFieldValue(CodeGenerationContext context,
EntityProperties entity,
Field field)
Generates value of a field.
|
static <T> CodeEmitter<T> |
ValueEmitterFactory.emitterFor(T object) |
static <T extends EntityProperties> |
ValueEmitterFactory.emitterFor(T entity) |
protected void |
EntityPropertiesEmitter.initBuilderClass(T entity)
Default method of finding
EntityPropertiesEmitter.builderClass . |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.