| Modifier and Type | Interface and Description |
|---|---|
interface |
Job |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job)
Helper methods to check if executor is capable of running executable
|
boolean |
AgentAssignmentService.isCapabilitiesMatch(ElasticImageConfiguration image,
ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
| Modifier and Type | Method and Description |
|---|---|
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
| Modifier and Type | Method and Description |
|---|---|
Set<? extends ImmutableJob> |
ImmutableChainStage.getJobs()
Gets the
ImmutableJobs associated with this Stage, excluding the ones marked for deletion |
| Modifier and Type | Method and Description |
|---|---|
ImmutableJob |
ImmutableArtifactSubscription.getConsumerJob()
Get job which consumes the artifact
|
ImmutableJob |
ImmutableArtifactDefinition.getProducerJob()
Get Buildable that is a producer of artifact
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<? extends ImmutableJob,ArtifactDefinition> |
ArtifactDefinitionManager.getArtifactDefinitionsByJob(ImmutableChain chain,
com.google.common.base.Predicate<ArtifactDefinitionBase> predicate)
Returns
ArtifactDefinition grouped by Job where definitions are defined |
| Modifier and Type | Method and Description |
|---|---|
List<ArtifactSubscription> |
ArtifactSubscriptionManager.findCurrentSubscriptionsForPlan(ImmutableJob producerJob)
Get list of subscriptions existing in a chain for given artifact
|
List<ArtifactDefinition> |
ArtifactSubscriptionManager.findSubscriptionsPossibleForPlan(ImmutableJob job)
Get list of chain level artifacts available for specified plan
|
List<ArtifactDefinitionContext> |
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts(ImmutableJob job,
PlanResultKey chainResultKey)
Helps prepare the artifact definitions
|
List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManager.prepareSubscriptionContexts(ImmutableJob job,
PlanResultKey planResultKey) |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscribersForMovedJob(ImmutableJob producer,
ImmutableChainStage producerStage)
Validate all consumer artifact subscriptions to the artifacts produced by a Job against target stage
|
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptions(ImmutableJob consumer,
ImmutableChain chain,
String stageName)
Validate consumer artifact subscriptions against target chain and stage
|
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptionsForMovedJob(ImmutableJob job,
ImmutableChainStage targetStage)
Validate all artifact subscriptions possibly affected by moving a job.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableJob |
ImmutablePlanManager.createImmutableJob(ImmutableChain parent,
ImmutableChainStage stage,
Job job) |
ImmutableJob |
ImmutableJob.getMaster() |
ImmutableJob |
CachedPlanManager.getMasterOfJob(PlanKey masterChainKey,
PlanKey jobKey) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends ImmutableJob> |
ImmutableChain.getAllJobs()
Note: Does not include Jobs that are marked for deletion.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableJob |
JobService.addJob(PlanKey chainKey,
long stageId,
String jobKey,
String name,
String description,
boolean suspended)
Add a job to an existing stage in the plan
|
ImmutableJob |
JobService.cloneJob(String sourceJobKey,
PlanKey chainKey,
long stageId,
String newJobKey,
String name,
String description,
boolean suspended)
Copy the given job and give the copy the key, name, description and suspended state provided.
|
ImmutableJob |
JobService.getJob(PlanKey jobKey)
Get an individual job
|
ImmutableJob |
JobService.updateJob(PlanKey jobKey,
String name,
String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Update the details of a job
|
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableJob> |
JobService.getJobsForPlan(PlanKey planKey)
Get all jobs in a plan, ordered alphabetically
|
List<ImmutableJob> |
JobService.getJobsForStage(PlanKey planKey,
long stageId)
Get all jobs in a particular stage, ordered alphabetically
|
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Returns mapping between
Job and TaskDefinition for tasks using repository by given repository id |
| Modifier and Type | Method and Description |
|---|---|
List<TestCase> |
TestQuarantineManager.getCurrentlyQuarantinedTests(ImmutableJob job)
Get a list of TestClass and TestCase names of all the tests currently quarantined for a given job
In string form for use in the BuildContext custom config
|
List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForJob(ImmutableJob job)
Provide a list of the quarantined tests for a job
|
| Modifier and Type | Method and Description |
|---|---|
List<TaskDefinition> |
TaskConfigurationService.getRelevantTasksForRepositoryId(ImmutableJob job,
long repositoryId)
Return relevant
TaskDefinition for given Job and repositoryId |
| Modifier and Type | Method and Description |
|---|---|
List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.