public class BuildContextBuilderImpl extends Object implements BuildContextBuilder
Constructor and Description |
---|
BuildContextBuilderImpl(BranchIntegrationService branchIntegrationService,
VariableDefinitionManager variableDefinitionManager,
CredentialsAccessor credentialsAccessor,
StorageTagService storageTagService,
VcsRepositoryManager vcsRepositoryManager,
SecureTokenService secureTokenService) |
public BuildContextBuilderImpl(@NotNull BranchIntegrationService branchIntegrationService, @NotNull VariableDefinitionManager variableDefinitionManager, @NotNull CredentialsAccessor credentialsAccessor, @NotNull StorageTagService storageTagService, @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull SecureTokenService secureTokenService)
@NotNull public BuildContext build()
build
in interface BuildContextBuilder
@NotNull public BuildContextBuilder identifier(@NotNull BuildIdentifier identifier)
identifier
in interface BuildContextBuilder
@NotNull public BuildContextBuilder plan(@NotNull ImmutablePlan buildPlan)
plan
in interface BuildContextBuilder
@NotNull public BuildContextBuilder buildNumber(int buildNumber)
buildNumber
in interface BuildContextBuilder
@NotNull public BuildContextBuilder parentBuildContext(@NotNull BuildContext parentContext)
parentBuildContext
in interface BuildContextBuilder
@NotNull public BuildContextBuilder triggerReason(TriggerReason triggerReason)
triggerReason
in interface BuildContextBuilder
@NotNull public BuildContextBuilder buildDefinition(BuildDefinition buildDefinition)
buildDefinition
in interface BuildContextBuilder
@NotNull public BuildContextBuilder artifactContext(ArtifactContext artifactContext)
artifactContext
in interface BuildContextBuilder
@NotNull public BuildContextBuilder variableContext(VariableContext variableContext)
variableContext
in interface BuildContextBuilder
@NotNull public BuildContextBuilder planRepositoryDefinitionMap(Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap)
planRepositoryDefinitionMap
in interface BuildContextBuilder
@NotNull public BuildContextBuilder relevantRepositoryIds(Set<Long> relevantRepositoryIds)
relevantRepositoryIds
in interface BuildContextBuilder
@NotNull public BuildContextBuilder relevantRepositories(@NotNull Set<PlanRepositoryDefinition> relevantRepositories)
relevantRepositories
in interface BuildContextBuilder
@NotNull public BuildContextBuilder checkoutLocation(Map<Long,String> checkoutLocation)
checkoutLocation
in interface BuildContextBuilder
@NotNull public BuildContextBuilder customBuildData(Map<String,String> customBuildData)
customBuildData
in interface BuildContextBuilder
@NotNull public BuildContextBuilder isBranch(boolean isBranch)
isBranch
in interface BuildContextBuilder
@NotNull public BuildContextBuilder isOnceOff(boolean isOnceOff)
isOnceOff
in interface BuildContextBuilder
@NotNull public BuildContextBuilder isCustomBuild(boolean isCustomBuild)
isCustomBuild
in interface BuildContextBuilder
@NotNull public BuildContextBuilder bandanaContext(BambooBandanaContext bandanaContext)
bandanaContext
in interface BuildContextBuilder
@NotNull public BuildContextBuilder buildChanges(BuildChanges buildChanges)
buildChanges
in interface BuildContextBuilder
@NotNull public BuildContextBuilder copyOf(@NotNull BuildContext other)
copyOf
in interface BuildContextBuilder
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.