|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 |
String |
getBuildResultKey()
Full build result key (e.g. |
Map<Long,String> |
getCheckoutLocation()
Map holds final checkout where repository was checked out by VcsCheckoutTask Elements are kept in order of checkout |
CurrentResult |
getCurrentResult()
|
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()
|
String |
getPlanKey()
Full plan key (e.g. |
String |
getPlanName()
The full name of the Plan |
PlanResultKey |
getPlanResultKey()
Gets the PlanResultKey for the current BuildIdentifier |
String |
getProjectName()
|
Set<Long> |
getRelevantRepositoryIds()
|
Map<Long,RepositoryDefinition> |
getRepositoryDefinitionMap()
|
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, CommonContext) |
List<RuntimeTaskDefinition> |
getRuntimeTaskDefinitions()
All tasks defined for this build. |
Iterable<CredentialsData> |
getSharedCredentials()
|
String |
getShortName()
The short name of the Plan |
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)
|
void |
setVariableContext(VariableContext variableContext)
|
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 BuildContext
BuildContext
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 BuildContext
public void setBuildChanges(BuildChanges buildChanges)
setBuildChanges
in interface BuildContext
@NotNull public CurrentBuildResult getBuildResult()
BuildContext
getBuildResult
in interface BuildContext
CurrentBuildResult
@NotNull public Set<Long> getRelevantRepositoryIds()
getRelevantRepositoryIds
in interface BuildContext
@NotNull public Map<Long,String> getCheckoutLocation()
BuildContext
getCheckoutLocation
in interface BuildContext
public boolean isBranch()
BuildContext
isBranch
in interface BuildContext
public boolean isOnceOff()
BuildContext
isOnceOff
in interface BuildContext
public boolean isCustomBuild()
BuildContext
isCustomBuild
in interface BuildContext
public long getEntityId()
getEntityId
in interface CommonContext
public Key getEntityKey()
getEntityKey
in interface CommonContext
public ResultKey getResultKey()
getResultKey
in interface CommonContext
public String getDisplayName()
CommonContext
getDisplayName
in interface CommonContext
public CurrentResult getCurrentResult()
getCurrentResult
in interface CommonContext
@NotNull public ErrorCollection getErrorCollection()
CommonContext
getErrorCollection
in interface CommonContext
@NotNull public List<TaskDefinition> getTaskDefinitions()
CommonContext
getTaskDefinitions
in interface CommonContext
List
of TaskDefinition
s@NotNull public List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
CommonContext
getRuntimeTaskDefinitions
in interface CommonContext
List
of RuntimeTaskDefinition
s@NotNull public RuntimeTaskContext getRuntimeTaskContext()
BuildContext
RuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition, CommonContext)
getRuntimeTaskContext
in interface BuildContext
getRuntimeTaskContext
in interface CommonContext
@NotNull public VariableContext getVariableContext()
getVariableContext
in interface CommonContext
@NotNull public TriggerReason getTriggerReason()
CommonContext
getTriggerReason
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()
BuildContext
getBandanaContext
in interface BuildContext
BandanaContext
of the plan@NotNull public Iterable<CredentialsData> getSharedCredentials()
getSharedCredentials
in interface CommonContext
@Nullable public BuildIdentifier getParentBuildIdentifier()
getParentBuildIdentifier
in interface BuildIdentifier
BuildContext
of the parent Plan
execution. Should return null if the current BuildContext
is for a TopLevelPlan
public long getPlanId()
getPlanId
in interface BuildIdentifier
@NotNull public String getPlanKey()
BuildIdentifier
getPlanKey
in interface BuildIdentifier
@NotNull public String getPlanName()
BuildIdentifier
Plan
getPlanName
in interface BuildIdentifier
DescriptionProvider.getName()
@NotNull public String getShortName()
BuildIdentifier
Plan
getShortName
in interface BuildIdentifier
PlanIdentifier.getBuildName()
public int getBuildNumber()
BuildIdentifier
getBuildNumber
in interface BuildIdentifier
@NotNull public String getBuildResultKey()
BuildIdentifier
getBuildResultKey
in interface BuildIdentifier
@NotNull public PlanResultKey getPlanResultKey()
BuildIdentifier
PlanResultKey
for the current BuildIdentifier
getPlanResultKey
in interface BuildIdentifier
@NotNull public String getProjectName()
getProjectName
in interface BuildIdentifier
public void setVariableContext(@NotNull VariableContext variableContext)
setVariableContext
in interface BuildContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |