public class BuildContextImpl extends BuildIdentifierImpl implements BuildContext
| Constructor and Description |
|---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
Map<String,String> customBuildData,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials,
Map<PlanKey,ChainStorageTag> relevantStorageTags,
BuildKey buildKey)
Using this constructor directly is not recommended.
|
equals, getBuildNumber, getBuildResultKey, getPlanId, getPlanKey, getPlanName, getPlanResultKey, getProjectName, getShortName, getTypedPlanKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBuildNumber, getBuildResultKey, getPlanId, getPlanKey, getPlanName, getPlanResultKey, getProjectName, getShortName, getTypedPlanKeypublic BuildContextImpl(BuildIdentifier identifier, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, BuildContext parentBuildContext, @Nullable ArtifactContext artifactContext, VariableContext variableContext, @Nullable Map<String,String> customBuildData, Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap, Set<Long> relevantRepositoryIds, Map<Long,String> checkoutLocation, boolean isBranch, boolean isOnceOff, boolean isCustomBuild, BambooBandanaContext bandanaContext, @NotNull Iterable<CredentialsData> relevantSharedCredentials, @NotNull Map<PlanKey,ChainStorageTag> relevantStorageTags, BuildKey buildKey)
BuildContextBuilder instead.@NotNull public BuildKey getBuildKey()
getBuildKey in interface CommonContextpublic BuildIdentifier getParentBuildIdentifier()
getParentBuildIdentifier in interface BuildIdentifiergetParentBuildIdentifier in class BuildIdentifierImplBuildContext of the parent Plan execution. Should return null if the current BuildContext is for a TopLevelPlanpublic BuildContext getParentBuildContext()
getParentBuildContext in interface BuildContextBuildContext of the parent Plan execution. Should return null if the current
BuildContext is for a TopLevelPlan@NotNull public TriggerReason getTriggerReason()
CommonContextgetTriggerReason in interface CommonContext@NotNull public BuildDefinition getBuildDefinition()
getBuildDefinition 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 CurrentResult getCurrentResult()
getCurrentResult in interface CommonContext@NotNull public ArtifactContext getArtifactContext()
getArtifactContext in interface BuildContext@NotNull public VariableContext getVariableContext()
getVariableContext in interface CommonContext@NotNull public Map<Long,RepositoryDefinition> getRepositoryDefinitionMap()
getRepositoryDefinitionMap in interface CommonContext@NotNull public List<RepositoryDefinition> getRepositoryDefinitions()
getRepositoryDefinitions in interface CommonContext@NotNull public List<PlanRepositoryDefinition> getVcsRepositories()
getVcsRepositories in interface CommonContext@NotNull public Map<Long,PlanRepositoryDefinition> getVcsRepositoryMap()
getVcsRepositoryMap in interface CommonContext@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 BuildContext@NotNull public RuntimeTaskContext getRuntimeTaskContext()
BuildContextRuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition, CommonContext)getRuntimeTaskContext in interface BuildContextgetRuntimeTaskContext in interface CommonContext@NotNull public BambooBandanaContext getBandanaContext()
BuildContextgetBandanaContext in interface BuildContextBandanaContext of the plan@NotNull public ErrorCollection getErrorCollection()
CommonContextgetErrorCollection in interface CommonContextpublic void setRelevantRepositories(@NotNull
Set<RepositoryDefinition> relevantRepositories)
@NotNull public Set<Long> getRelevantRepositoryIds()
getRelevantRepositoryIds in interface BuildContextpublic Key getEntityKey()
getEntityKey in interface CommonContextpublic ResultKey getResultKey()
getResultKey in interface CommonContextpublic String getDisplayName()
CommonContextgetDisplayName in interface CommonContext@NotNull public List<TaskDefinition> getTaskDefinitions()
CommonContextgetTaskDefinitions in interface CommonContextList of TaskDefinitions@NotNull public List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
CommonContextgetRuntimeTaskDefinitions in interface CommonContextList of RuntimeTaskDefinitionspublic long getEntityId()
getEntityId in interface CommonContext@NotNull public Iterable<CredentialsData> getSharedCredentials()
getSharedCredentials in interface CommonContext@NotNull public Map<PlanKey,ChainStorageTag> getChainStorageTags()
getChainStorageTags in interface CommonContextpublic void setVariableContext(VariableContext variableContext)
setVariableContext in interface BuildContextCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.