public class DeploymentRepositoryBuildContext extends Object implements BuildContext
Constructor and Description |
---|
DeploymentRepositoryBuildContext(CommonContext commonContext) |
public DeploymentRepositoryBuildContext(CommonContext commonContext)
@NotNull public BuildKey getBuildKey()
getBuildKey
in interface CommonContext
@Nullable public BuildContext getParentBuildContext()
getParentBuildContext
in interface BuildContext
BuildContext
of the parent Plan
execution. Should return null if the current
BuildContext
is for a TopLevelPlan
@NotNull public BuildDefinition getBuildDefinition()
getBuildDefinition
in interface BuildContext
@NotNull public ArtifactContext getArtifactContext()
getArtifactContext
in interface BuildContext
@NotNull public BuildChanges getBuildChanges()
BuildContext
getBuildChanges
in interface BuildContext
public void setBuildChanges(BuildChanges buildChanges)
setBuildChanges
in interface BuildContext
@NotNull public CurrentBuildResult getBuildResult()
BuildContext
getBuildResult
in interface BuildContext
CurrentBuildResult
@NotNull public Set<Long> getRelevantRepositoryIds()
getRelevantRepositoryIds
in interface BuildContext
@NotNull public Map<Long,String> getCheckoutLocation()
BuildContext
getCheckoutLocation
in interface BuildContext
public boolean isBranch()
BuildContext
isBranch
in interface BuildContext
public boolean isOnceOff()
BuildContext
isOnceOff
in interface BuildContext
public boolean isCustomBuild()
BuildContext
isCustomBuild
in interface BuildContext
public long getEntityId()
getEntityId
in interface CommonContext
public Key getEntityKey()
getEntityKey
in interface CommonContext
public ResultKey getResultKey()
getResultKey
in interface CommonContext
public String getDisplayName()
CommonContext
getDisplayName
in interface CommonContext
public CurrentResult getCurrentResult()
getCurrentResult
in interface CommonContext
@NotNull public ErrorCollection getErrorCollection()
CommonContext
getErrorCollection
in interface CommonContext
@NotNull public List<TaskDefinition> getTaskDefinitions()
CommonContext
getTaskDefinitions
in interface CommonContext
List
of TaskDefinition
s@NotNull public List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
CommonContext
getRuntimeTaskDefinitions
in interface CommonContext
List
of RuntimeTaskDefinition
s@NotNull public VariableContext getVariableContext()
getVariableContext
in interface CommonContext
@NotNull public TriggerReason getTriggerReason()
CommonContext
getTriggerReason
in interface CommonContext
@NotNull public Map<Long,RepositoryDefinition> getRepositoryDefinitionMap()
getRepositoryDefinitionMap
in interface CommonContext
@NotNull public List<RepositoryDefinition> getRepositoryDefinitions()
getRepositoryDefinitions
in interface CommonContext
@NotNull public BambooBandanaContext getBandanaContext()
BuildContext
getBandanaContext
in interface BuildContext
BandanaContext
of the plan@NotNull public Map<PlanKey,ChainStorageTag> getChainStorageTags()
getChainStorageTags
in interface CommonContext
@NotNull public Iterable<CredentialsData> getSharedCredentials()
getSharedCredentials
in interface CommonContext
@Nullable public BuildIdentifier getParentBuildIdentifier()
getParentBuildIdentifier
in interface BuildIdentifier
BuildContext
of the parent Plan
execution. Should return null if the current BuildContext
is for a Chain
public long getPlanId()
getPlanId
in interface BuildIdentifier
public Optional<Long> getPlanDbId()
getPlanDbId
in interface BuildIdentifier
@NotNull public String getPlanKey()
BuildIdentifier
getPlanKey
in interface BuildIdentifier
@NotNull public PlanKey getTypedPlanKey()
BuildIdentifier
getTypedPlanKey
in interface BuildIdentifier
@NotNull public String getPlanName()
BuildIdentifier
Plan
getPlanName
in interface BuildIdentifier
DescriptionProvider.getName()
@NotNull public String getShortName()
BuildIdentifier
Plan
getShortName
in interface BuildIdentifier
PlanIdentifier.getBuildName()
public int getBuildNumber()
BuildIdentifier
getBuildNumber
in interface BuildIdentifier
@NotNull public String getBuildResultKey()
BuildIdentifier
getBuildResultKey
in interface BuildIdentifier
@NotNull public PlanResultKey getPlanResultKey()
BuildIdentifier
PlanResultKey
for the current BuildIdentifier
getPlanResultKey
in interface BuildIdentifier
@NotNull public String getProjectName()
getProjectName
in interface BuildIdentifier
public void setVariableContext(@NotNull VariableContext variableContext)
setVariableContext
in interface BuildContext
@NotNull public Map<Long,PlanRepositoryDefinition> getVcsRepositoryMap()
getVcsRepositoryMap
in interface CommonContext
@NotNull public List<PlanRepositoryDefinition> getVcsRepositories()
getVcsRepositories
in interface CommonContext
public Long getEntityGroupId()
CommonContext
getEntityGroupId
in interface CommonContext
public long getMaximumBuildWarningsCount()
getMaximumBuildWarningsCount
in interface BuildContext
@NotNull public DockerPipelineConfiguration getDockerPipelineConfiguration()
getDockerPipelineConfiguration
in interface CommonContext
public Optional<Long> getMasterPlanId()
getMasterPlanId
in interface BuildIdentifier
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.