Class BuildContextBuilderImpl
java.lang.Object
com.atlassian.bamboo.build.context.BuildContextBuilderImpl
- All Implemented Interfaces:
BuildContextBuilder
-
Constructor Summary
ConstructorDescriptionBuildContextBuilderImpl
(@NotNull BranchIntegrationService branchIntegrationService, @NotNull VariableDefinitionManager variableDefinitionManager, @NotNull CredentialsAccessor credentialsAccessor, @NotNull StorageTagService storageTagService, @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull SecureTokenService secureTokenService, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextBuilder
artifactContext
(ArtifactContext artifactContext) @NotNull BuildContextBuilder
bandanaContext
(BambooBandanaContext bandanaContext) @NotNull BuildContext
build()
@NotNull BuildContextBuilder
buildChanges
(BuildChanges buildChanges) @NotNull BuildContextBuilder
buildDefinition
(BuildDefinition buildDefinition) @NotNull BuildContextBuilder
buildNumber
(int buildNumber) @NotNull BuildContextBuilder
checkoutLocation
(Map<Long, String> checkoutLocation) @NotNull BuildContextBuilder
copyOf
(@NotNull BuildContext other) @NotNull BuildContextBuilder
customBuildData
(Map<String, String> customBuildData) @NotNull BuildContextBuilder
identifier
(@NotNull BuildIdentifier identifier) @NotNull BuildContextBuilder
isBranch
(boolean isBranch) @NotNull BuildContextBuilder
isCustomBuild
(boolean isCustomBuild) @NotNull BuildContextBuilder
isOnceOff
(boolean isOnceOff) @NotNull BuildContextBuilder
isVerboseLoggingOn
(boolean isVerboseLoggingOn) @NotNull BuildContextBuilder
mergeResult
(MergeResultContext mergeResult) @NotNull BuildContextBuilder
parentBuildContext
(@NotNull BuildContext parentContext) @NotNull BuildContextBuilder
plan
(@NotNull ImmutablePlan buildPlan) @NotNull BuildContextBuilder
planRepositoryDefinitionMap
(Map<Long, PlanRepositoryDefinition> planRepositoryDefinitionMap) @NotNull BuildContextBuilder
relevantRepositories
(@NotNull Set<PlanRepositoryDefinition> relevantRepositories) @NotNull BuildContextBuilder
relevantRepositoryIds
(Set<Long> relevantRepositoryIds) @NotNull BuildContextBuilder
triggerReason
(TriggerReason triggerReason) @NotNull BuildContextBuilder
variableContext
(VariableContext variableContext)
-
Constructor Details
-
BuildContextBuilderImpl
public BuildContextBuilderImpl(@NotNull @NotNull BranchIntegrationService branchIntegrationService, @NotNull @NotNull VariableDefinitionManager variableDefinitionManager, @NotNull @NotNull CredentialsAccessor credentialsAccessor, @NotNull @NotNull StorageTagService storageTagService, @NotNull @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull @NotNull SecureTokenService secureTokenService, @NotNull @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
build
- Specified by:
build
in interfaceBuildContextBuilder
-
identifier
@NotNull public @NotNull BuildContextBuilder identifier(@NotNull @NotNull BuildIdentifier identifier) - Specified by:
identifier
in interfaceBuildContextBuilder
-
plan
- Specified by:
plan
in interfaceBuildContextBuilder
-
buildNumber
- Specified by:
buildNumber
in interfaceBuildContextBuilder
-
parentBuildContext
@NotNull public @NotNull BuildContextBuilder parentBuildContext(@NotNull @NotNull BuildContext parentContext) - Specified by:
parentBuildContext
in interfaceBuildContextBuilder
-
triggerReason
- Specified by:
triggerReason
in interfaceBuildContextBuilder
-
buildDefinition
- Specified by:
buildDefinition
in interfaceBuildContextBuilder
-
artifactContext
- Specified by:
artifactContext
in interfaceBuildContextBuilder
-
variableContext
- Specified by:
variableContext
in interfaceBuildContextBuilder
-
planRepositoryDefinitionMap
@NotNull public @NotNull BuildContextBuilder planRepositoryDefinitionMap(Map<Long, PlanRepositoryDefinition> planRepositoryDefinitionMap) - Specified by:
planRepositoryDefinitionMap
in interfaceBuildContextBuilder
-
relevantRepositoryIds
- Specified by:
relevantRepositoryIds
in interfaceBuildContextBuilder
-
relevantRepositories
@NotNull public @NotNull BuildContextBuilder relevantRepositories(@NotNull @NotNull Set<PlanRepositoryDefinition> relevantRepositories) - Specified by:
relevantRepositories
in interfaceBuildContextBuilder
-
checkoutLocation
- Specified by:
checkoutLocation
in interfaceBuildContextBuilder
-
customBuildData
- Specified by:
customBuildData
in interfaceBuildContextBuilder
-
isBranch
- Specified by:
isBranch
in interfaceBuildContextBuilder
-
isOnceOff
- Specified by:
isOnceOff
in interfaceBuildContextBuilder
-
isCustomBuild
- Specified by:
isCustomBuild
in interfaceBuildContextBuilder
-
isVerboseLoggingOn
- Specified by:
isVerboseLoggingOn
in interfaceBuildContextBuilder
-
bandanaContext
- Specified by:
bandanaContext
in interfaceBuildContextBuilder
-
buildChanges
- Specified by:
buildChanges
in interfaceBuildContextBuilder
-
mergeResult
- Specified by:
mergeResult
in interfaceBuildContextBuilder
-
copyOf
- Specified by:
copyOf
in interfaceBuildContextBuilder
-