|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.BuildIdentifierImpl com.atlassian.bamboo.v2.build.BuildContextImpl
public class BuildContextImpl
Constructor Summary | |
---|---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
java.util.Map<java.lang.String,java.lang.String> customBuildData,
java.util.Map<java.lang.Long,RepositoryDefinition> repositoryDefinitionMap,
java.util.Set<java.lang.Long> relevantRepositoryIds,
java.util.Map<java.lang.Long,java.lang.String> checkoutLocation,
boolean isBranch,
BambooBandanaContext bandanaContext)
|
|
BuildContextImpl(ImmutablePlan buildPlan,
int buildNumber,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges)
Deprecated. since 4.0 BuildContexts created from this contstructor do not support branch integration. Use BuildContextImpl(ImmutablePlan, int, TriggerReason, BuildDefinition, BuildChanges, ImmutablePlanCacheService) |
|
BuildContextImpl(ImmutablePlan plan,
int buildNumber,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
java.util.Map<java.lang.String,java.lang.String> customBuildData)
|
|
BuildContextImpl(ImmutablePlan plan,
int buildNumber,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
java.util.Map<java.lang.String,java.lang.String> customBuildData,
java.util.Map<java.lang.Long,RepositoryDefinition> repositoryDefinitionMap)
|
|
BuildContextImpl(ImmutablePlan buildPlan,
int buildNumber,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
ImmutablePlanCacheService immutablePlanCacheService)
|
|
BuildContextImpl(ImmutablePlan buildPlan,
int buildNumber,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
VariableContext variableContext,
ImmutablePlanCacheService immutablePlanCacheService)
|
Method Summary | |
---|---|
ArtifactContext |
getArtifactContext()
|
BambooBandanaContext |
getBandanaContext()
BandanaContext of the plan. |
BuildChanges |
getBuildChanges()
Returns the build changes, if any, that represents the changes that triggered this build. |
BuildDefinition |
getBuildDefinition()
|
CurrentBuildResult |
getBuildResult()
The information about the results of a build |
java.util.Map<java.lang.Long,java.lang.String> |
getCheckoutLocation()
Map holds final checkout where repository was checked out by VcsCheckoutTask Elements are kept in order of checkout |
ErrorCollection |
getErrorCollection()
Any errors associated with the build |
BuildContext |
getParentBuildContext()
|
BuildIdentifier |
getParentBuildIdentifier()
|
java.util.Set<java.lang.Long> |
getRelevantRepositoryIds()
|
java.util.Map<java.lang.Long,RepositoryDefinition> |
getRepositoryDefinitionMap()
|
java.util.List<RepositoryDefinition> |
getRepositoryDefinitions()
|
TriggerReason |
getTriggerReason()
The reason this build was triggered |
VariableContext |
getVariableContext()
|
boolean |
isBranch()
Provides information if context refers to the branch of the Chain |
void |
setRelevantRepositories(java.util.Set<RepositoryDefinition> relevantRepositories)
|
Methods inherited from class com.atlassian.bamboo.v2.build.BuildIdentifierImpl |
---|
equals, getBuildNumber, getBuildResultKey, getPlanId, getPlanKey, getPlanName, getPlanResultKey, getProjectName, getShortName, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildIdentifier |
---|
getBuildNumber, getBuildResultKey, getPlanId, getPlanKey, getPlanName, getPlanResultKey, getProjectName, getShortName |
Constructor Detail |
---|
public BuildContextImpl(ImmutablePlan plan, int buildNumber, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, @Nullable BuildContext parentBuildContext, @Nullable ArtifactContext artifactContext, VariableContext variableContext, @NotNull java.util.Map<java.lang.String,java.lang.String> customBuildData)
public BuildContextImpl(ImmutablePlan plan, int buildNumber, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, @Nullable BuildContext parentBuildContext, @Nullable ArtifactContext artifactContext, VariableContext variableContext, @NotNull java.util.Map<java.lang.String,java.lang.String> customBuildData, java.util.Map<java.lang.Long,RepositoryDefinition> repositoryDefinitionMap)
public BuildContextImpl(ImmutablePlan buildPlan, int buildNumber, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, ImmutablePlanCacheService immutablePlanCacheService)
@Deprecated public BuildContextImpl(ImmutablePlan buildPlan, int buildNumber, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges)
BuildContextImpl(ImmutablePlan, int, TriggerReason, BuildDefinition, BuildChanges, ImmutablePlanCacheService)
public BuildContextImpl(ImmutablePlan buildPlan, int buildNumber, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, @NotNull VariableContext variableContext, ImmutablePlanCacheService immutablePlanCacheService)
public BuildContextImpl(BuildIdentifier identifier, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, BuildContext parentBuildContext, ArtifactContext artifactContext, VariableContext variableContext, @Nullable java.util.Map<java.lang.String,java.lang.String> customBuildData, java.util.Map<java.lang.Long,RepositoryDefinition> repositoryDefinitionMap, java.util.Set<java.lang.Long> relevantRepositoryIds, java.util.Map<java.lang.Long,java.lang.String> checkoutLocation, boolean isBranch, BambooBandanaContext bandanaContext)
Method Detail |
---|
public BuildIdentifier getParentBuildIdentifier()
getParentBuildIdentifier
in interface BuildIdentifier
getParentBuildIdentifier
in class BuildIdentifierImpl
BuildContext
of the parent Plan
execution. Should return null if the current BuildContext
is for a TopLevelPlan
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 TriggerReason getTriggerReason()
BuildContext
getTriggerReason
in interface BuildContext
@NotNull public BuildDefinition getBuildDefinition()
getBuildDefinition
in interface BuildContext
@NotNull public BuildChanges getBuildChanges()
BuildContext
getBuildChanges
in interface BuildContext
@NotNull public CurrentBuildResult getBuildResult()
BuildContext
getBuildResult
in interface BuildContext
CurrentBuildResult
@NotNull public ArtifactContext getArtifactContext()
getArtifactContext
in interface BuildContext
@NotNull public VariableContext getVariableContext()
getVariableContext
in interface BuildContext
@NotNull public java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap()
getRepositoryDefinitionMap
in interface BuildContext
@NotNull public java.util.List<RepositoryDefinition> getRepositoryDefinitions()
getRepositoryDefinitions
in interface BuildContext
@NotNull public java.util.Map<java.lang.Long,java.lang.String> getCheckoutLocation()
BuildContext
getCheckoutLocation
in interface BuildContext
public boolean isBranch()
BuildContext
isBranch
in interface BuildContext
@NotNull public BambooBandanaContext getBandanaContext()
BuildContext
getBandanaContext
in interface BuildContext
BandanaContext
of the plan@NotNull public ErrorCollection getErrorCollection()
BuildContext
getErrorCollection
in interface BuildContext
public void setRelevantRepositories(@NotNull java.util.Set<RepositoryDefinition> relevantRepositories)
@NotNull public java.util.Set<java.lang.Long> getRelevantRepositoryIds()
getRelevantRepositoryIds
in interface BuildContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |