public interface CommonContext extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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
|
Map<Long,RepositoryDefinition> |
getRepositoryDefinitionMap() |
List<RepositoryDefinition> |
getRepositoryDefinitions() |
ResultKey |
getResultKey() |
RuntimeTaskContext |
getRuntimeTaskContext()
Deprecated.
since 5.9 without direct replacement. Use
RuntimeTaskDefinition to access this information. |
List<RuntimeTaskDefinition> |
getRuntimeTaskDefinitions()
All tasks defined for this build.
|
Iterable<CredentialsData> |
getSharedCredentials() |
List<TaskDefinition> |
getTaskDefinitions()
Deprecated.
since 5.9 use
getRuntimeTaskDefinitions() |
TriggerReason |
getTriggerReason()
The reason this build was triggered
|
VariableContext |
getVariableContext() |
long getEntityId()
Key getEntityKey()
ResultKey getResultKey()
String getDisplayName()
CurrentResult getCurrentResult()
@NotNull ErrorCollection getErrorCollection()
@NotNull @Deprecated List<TaskDefinition> getTaskDefinitions()
getRuntimeTaskDefinitions()List of TaskDefinitions@NotNull List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
List of RuntimeTaskDefinitions@NotNull @Deprecated RuntimeTaskContext getRuntimeTaskContext()
RuntimeTaskDefinition to access this information.RuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition, CommonContext)@NotNull VariableContext getVariableContext()
@NotNull TriggerReason getTriggerReason()
@NotNull Map<Long,RepositoryDefinition> getRepositoryDefinitionMap()
@NotNull List<RepositoryDefinition> getRepositoryDefinitions()
@NotNull Iterable<CredentialsData> getSharedCredentials()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.