|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface BuildContext
A class that encapsulates how to build a particular plan at a given instance
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()
|
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 |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildIdentifier |
---|
getBuildNumber, getBuildResultKey, getParentBuildIdentifier, getPlanId, getPlanKey, getPlanName, getPlanResultKey, getProjectName, getShortName |
Method Detail |
---|
@Nullable BuildContext getParentBuildContext()
BuildContext
of the parent Plan
execution. Should return null if the current BuildContext
is for a TopLevelPlan
@NotNull TriggerReason getTriggerReason()
@NotNull BuildDefinition getBuildDefinition()
@NotNull ArtifactContext getArtifactContext()
@NotNull BuildChanges getBuildChanges()
@NotNull CurrentBuildResult getBuildResult()
CurrentBuildResult
@NotNull ErrorCollection getErrorCollection()
@NotNull VariableContext getVariableContext()
@NotNull java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap()
@NotNull java.util.List<RepositoryDefinition> getRepositoryDefinitions()
@NotNull java.util.Set<java.lang.Long> getRelevantRepositoryIds()
@NotNull java.util.Map<java.lang.Long,java.lang.String> getCheckoutLocation()
boolean isBranch()
@NotNull BambooBandanaContext getBandanaContext()
BandanaContext
of the plan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |