|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.plugins.vcs.task.DeploymentRepositoryBuildContext
public class DeploymentRepositoryBuildContext
| Constructor Summary | |
|---|---|
DeploymentRepositoryBuildContext(CommonContext commonContext)
|
|
| 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()
|
int |
getBuildNumber()
The build number being built |
CurrentBuildResult |
getBuildResult()
The information about the results of a build |
java.lang.String |
getBuildResultKey()
Full build result key (e.g. |
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 |
CurrentResult |
getCurrentResult()
|
java.lang.String |
getDisplayName()
A human friendly description of what is being built. |
long |
getEntityId()
|
Key |
getEntityKey()
|
ErrorCollection |
getErrorCollection()
Any errors associated with the build |
BuildContext |
getParentBuildContext()
|
BuildIdentifier |
getParentBuildIdentifier()
|
long |
getPlanId()
|
java.lang.String |
getPlanKey()
Full plan key (e.g. |
java.lang.String |
getPlanName()
The full name of the Plan |
PlanResultKey |
getPlanResultKey()
Gets the PlanResultKey for the current BuildIdentifier |
java.lang.String |
getProjectName()
|
java.util.Set<java.lang.Long> |
getRelevantRepositoryIds()
|
java.util.Map<java.lang.Long,RepositoryDefinition> |
getRepositoryDefinitionMap()
|
java.util.List<RepositoryDefinition> |
getRepositoryDefinitions()
|
ResultKey |
getResultKey()
|
RuntimeTaskContext |
getRuntimeTaskContext()
Runtime context for the tasks executed for given build context This context is set by pluggable RuntimeTaskDataProvider#populateRuntimeTaskData(TaskDefinition, BuildContext) |
java.lang.String |
getShortName()
The short name of the Plan |
java.util.List<TaskDefinition> |
getTaskDefinitions()
All tasks defined for this build. |
TriggerReason |
getTriggerReason()
The reason this build was triggered |
VariableContext |
getVariableContext()
|
boolean |
isBranch()
Provides information if context refers to the branch of the Chain |
boolean |
isCustomBuild()
Provides information if context refers to the build that had some variables overwritten |
boolean |
isOnceOff()
Provides information if context refers to the "once-off" build - a build that have been run with customized revision |
void |
setBuildChanges(BuildChanges buildChanges)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentRepositoryBuildContext(CommonContext commonContext)
| Method Detail |
|---|
@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()
BuildContext
getBuildChanges in interface BuildContextpublic void setBuildChanges(BuildChanges buildChanges)
setBuildChanges in interface BuildContext@NotNull public CurrentBuildResult getBuildResult()
BuildContext
getBuildResult in interface BuildContextCurrentBuildResult@NotNull public java.util.Set<java.lang.Long> getRelevantRepositoryIds()
getRelevantRepositoryIds in interface BuildContext@NotNull public java.util.Map<java.lang.Long,java.lang.String> getCheckoutLocation()
BuildContext
getCheckoutLocation in interface BuildContextpublic boolean isBranch()
BuildContext
isBranch in interface BuildContextpublic boolean isOnceOff()
BuildContext
isOnceOff in interface BuildContextpublic boolean isCustomBuild()
BuildContext
isCustomBuild in interface BuildContextpublic long getEntityId()
getEntityId in interface CommonContextpublic Key getEntityKey()
getEntityKey in interface CommonContextpublic ResultKey getResultKey()
getResultKey in interface CommonContextpublic java.lang.String getDisplayName()
CommonContext
getDisplayName in interface CommonContextpublic CurrentResult getCurrentResult()
getCurrentResult in interface CommonContext@NotNull public ErrorCollection getErrorCollection()
CommonContext
getErrorCollection in interface CommonContext@NotNull public java.util.List<TaskDefinition> getTaskDefinitions()
CommonContext
getTaskDefinitions in interface CommonContextList of TaskDefinitions@NotNull public RuntimeTaskContext getRuntimeTaskContext()
BuildContextRuntimeTaskDataProvider#populateRuntimeTaskData(TaskDefinition, BuildContext)
getRuntimeTaskContext in interface BuildContextgetRuntimeTaskContext in interface CommonContext@NotNull public VariableContext getVariableContext()
getVariableContext in interface CommonContext@NotNull public TriggerReason getTriggerReason()
CommonContext
getTriggerReason in interface CommonContext@NotNull public java.util.Map<java.lang.Long,RepositoryDefinition> getRepositoryDefinitionMap()
getRepositoryDefinitionMap in interface CommonContext@NotNull public java.util.List<RepositoryDefinition> getRepositoryDefinitions()
getRepositoryDefinitions in interface CommonContext@NotNull public BambooBandanaContext getBandanaContext()
BuildContext
getBandanaContext in interface BuildContextBandanaContext of the plan@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 java.lang.String getPlanKey()
BuildIdentifier
getPlanKey in interface BuildIdentifier@NotNull public java.lang.String getPlanName()
BuildIdentifierPlan
getPlanName in interface BuildIdentifierDescriptionProvider.getName()@NotNull public java.lang.String getShortName()
BuildIdentifierPlan
getShortName in interface BuildIdentifierPlanIdentifier.getBuildName()public int getBuildNumber()
BuildIdentifier
getBuildNumber in interface BuildIdentifier@NotNull public java.lang.String getBuildResultKey()
BuildIdentifier
getBuildResultKey in interface BuildIdentifier@NotNull public PlanResultKey getPlanResultKey()
BuildIdentifierPlanResultKey for the current BuildIdentifier
getPlanResultKey in interface BuildIdentifier@NotNull public java.lang.String getProjectName()
getProjectName in interface BuildIdentifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||