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 BuildContextBuildContext 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()
BuildContextgetBuildChanges in interface BuildContextpublic void setBuildChanges(BuildChanges buildChanges)
setBuildChanges in interface BuildContext@NotNull public CurrentBuildResult getBuildResult()
BuildContextgetBuildResult in interface BuildContextCurrentBuildResult@NotNull public Set<Long> getRelevantRepositoryIds()
getRelevantRepositoryIds in interface BuildContext@NotNull public Map<Long,String> getCheckoutLocation()
BuildContextgetCheckoutLocation in interface BuildContextpublic boolean isBranch()
BuildContextisBranch in interface BuildContextpublic boolean isOnceOff()
BuildContextisOnceOff in interface BuildContextpublic boolean isCustomBuild()
BuildContextisCustomBuild in interface BuildContextpublic long getEntityId()
getEntityId in interface CommonContextpublic Key getEntityKey()
getEntityKey in interface CommonContextpublic ResultKey getResultKey()
getResultKey in interface CommonContextpublic String getDisplayName()
CommonContextgetDisplayName in interface CommonContextpublic CurrentResult getCurrentResult()
getCurrentResult in interface CommonContext@NotNull public ErrorCollection getErrorCollection()
CommonContextgetErrorCollection in interface CommonContext@NotNull public List<TaskDefinition> getTaskDefinitions()
CommonContextgetTaskDefinitions in interface CommonContextList of TaskDefinitions@NotNull public List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
CommonContextgetRuntimeTaskDefinitions in interface CommonContextList of RuntimeTaskDefinitions@NotNull public VariableContext getVariableContext()
getVariableContext in interface CommonContext@NotNull public TriggerReason getTriggerReason()
CommonContextgetTriggerReason 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()
BuildContextgetBandanaContext in interface BuildContextBandanaContext 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 BuildIdentifierBuildContext of the parent Plan execution. Should return null if the current BuildContext is for a TopLevelPlanpublic long getPlanId()
getPlanId in interface BuildIdentifier@NotNull public String getPlanKey()
BuildIdentifiergetPlanKey in interface BuildIdentifier@NotNull public PlanKey getTypedPlanKey()
BuildIdentifiergetTypedPlanKey in interface BuildIdentifier@NotNull public String getPlanName()
BuildIdentifierPlangetPlanName in interface BuildIdentifierDescriptionProvider.getName()@NotNull public String getShortName()
BuildIdentifierPlangetShortName in interface BuildIdentifierPlanIdentifier.getBuildName()public int getBuildNumber()
BuildIdentifiergetBuildNumber in interface BuildIdentifier@NotNull public String getBuildResultKey()
BuildIdentifiergetBuildResultKey in interface BuildIdentifier@NotNull public PlanResultKey getPlanResultKey()
BuildIdentifierPlanResultKey for the current BuildIdentifiergetPlanResultKey in interface BuildIdentifier@NotNull public String getProjectName()
getProjectName in interface BuildIdentifierpublic 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 CommonContextpublic Long getEntityGroupId()
CommonContextgetEntityGroupId in interface CommonContextpublic long getMaximumBuildWarningsCount()
getMaximumBuildWarningsCount in interface BuildContext@NotNull public DockerPipelineConfiguration getDockerPipelineConfiguration()
getDockerPipelineConfiguration in interface CommonContextCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.