Modifier and Type | Method and Description |
---|---|
static PlanAwareBandanaContext |
PlanAwareBandanaContext.forJob(ImmutableJob job) |
Modifier and Type | Interface and Description |
---|---|
interface |
Job |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJob |
Constructor and Description |
---|
JobStatusHelper(ImmutableJob job,
BuildExecutionManager buildExecutionManager) |
Modifier and Type | Method and Description |
---|---|
static Map<Long,String> |
RepositoryConfigHelper.getRepositoriesForWorkingDirSelection(ImmutableJob job,
VcsRepositoryManager vcsRepositoryManager)
Deprecated.
Scans checkout tasks for repositories that define their source directory.
|
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
TestCaseForDisplay.getJob() |
Constructor and Description |
---|
FailingTestCaseForDisplay(TestCase testCase,
Long failuresCount,
ImmutableJob job) |
TestCaseForDisplay(TestCase testCase,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
boolean |
AgentAssignmentServiceImpl.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job) |
boolean |
AgentAssignmentService.isCapabilitiesMatch(BuildAgent agent,
ImmutableJob job)
Helper methods to check if executor is capable of running executable
|
boolean |
AgentAssignmentServiceImpl.isCapabilitiesMatch(ElasticImageConfiguration image,
ImmutableJob job) |
boolean |
AgentAssignmentService.isCapabilitiesMatch(ElasticImageConfiguration image,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext) |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig) |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig)
|
Modifier and Type | Method and Description |
---|---|
ChainStateResult |
ChainResultManagerImpl.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stagesToExecute) |
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
ChainStateResult |
ChainResultManagerImpl.updateForRerunBuild(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
ChainStateResult |
ChainResultManager.updateForRerunBuild(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and being rerun. |
Modifier and Type | Method and Description |
---|---|
Set<ImmutableJob> |
ImmutableChainStageImpl.getJobs() |
Set<? extends ImmutableJob> |
ImmutableChainStage.getJobs()
Gets the
ImmutableJob s associated with this Stage. |
Modifier and Type | Method and Description |
---|---|
void |
TestResultSummaryMergeAction.execute(StageExecution stageExecution,
ImmutableJob job,
BuildResultsSummary buildResultsSummary) |
void |
PostJobAction.execute(StageExecution stageExecution,
ImmutableJob job,
BuildResultsSummary buildResultsSummary)
Executes the custom action
|
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
ViewAgents.getPlan() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ImmutableJob> |
ViewAgentPlanMatrix.getBuildablesForPlan(ImmutablePlan plan) |
Map<ImmutableJob,RequirementDelta> |
RenameAgentCapability.getRequirementPlanDeltaMap() |
Modifier and Type | Method and Description |
---|---|
List<ImmutableJob> |
SharedCredentialsInJobs.getJobsWithSharedCredentials() |
Constructor and Description |
---|
SharedCredentialsInJobs(Long sharedCredentialsId,
List<ImmutableJob> jobsWithSharedCredentials) |
Modifier and Type | Method and Description |
---|---|
long |
BuildResultsIndexer.indexJob(ImmutableJob plan)
Deprecated.
Indexes the build.
|
Modifier and Type | Method and Description |
---|---|
long |
DefaultBuildResultsIndexer.indexJob(ImmutableJob plan) |
Modifier and Type | Method and Description |
---|---|
static ImmutableJob |
PlanHelper.getBranchedImmutableJob(ImmutableChain chainBranch,
ImmutableJob masterJob)
Searches for a corresponding job in a branch.
|
Modifier and Type | Method and Description |
---|---|
static Stream<ImmutableJob> |
PlanHelper.getBranchesForJob(CachedPlanManager cachedPlanManager,
ImmutableJob masterJob) |
static Comparator<ImmutableJob> |
PlanComparators.jobStageIndexComparator() |
Modifier and Type | Method and Description |
---|---|
static ImmutableJob |
PlanHelper.getBranchedImmutableJob(ImmutableChain chainBranch,
ImmutableJob masterJob)
Searches for a corresponding job in a branch.
|
static Stream<ImmutableJob> |
PlanHelper.getBranchesForJob(CachedPlanManager cachedPlanManager,
ImmutableJob masterJob) |
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
ImmutableArtifactSubscriptionImpl.getConsumerJob() |
ImmutableJob |
ImmutableArtifactSubscription.getConsumerJob()
Get job which consumes the artifact
|
ImmutableJob |
ImmutableArtifactDefinitionImpl.getProducerJob() |
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> |
ArtifactDefinitionManagerImpl.getArtifactDefinitionsByJob(ImmutableChain chain,
com.google.common.base.Predicate<ArtifactDefinitionBase> predicate)
Get
ArtifactDefinition grouped by Job |
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> |
ArtifactSubscriptionManagerImpl.findCurrentSubscriptionsForPlan(ImmutableJob producerJob) |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.findCurrentSubscriptionsForPlan(ImmutableJob producerJob)
Get list of subscriptions existing in a chain for given artifact
|
List<ArtifactDefinition> |
ArtifactSubscriptionManagerImpl.findSubscriptionsPossibleForPlan(ImmutableJob job) |
List<ArtifactDefinition> |
ArtifactSubscriptionManager.findSubscriptionsPossibleForPlan(ImmutableJob job)
Get list of chain level artifacts available for specified plan
|
List<ArtifactDefinitionContext> |
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts(ImmutableJob job,
BuildContext buildContext,
SecureToken secureToken) |
List<ArtifactDefinitionContext> |
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts(ImmutableJob job,
BuildContext buildContext,
SecureToken secureToken)
Helps prepare the artifact definitions
|
List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts(ImmutableJob job,
BuildContext parentBuildContext,
SecureToken secureToken) |
List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManager.prepareSubscriptionContexts(ImmutableJob job,
BuildContext parentBuildContext,
SecureToken secureToken) |
List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscribersForMovedJob(ImmutableJob producer,
ImmutableChainStage destinationStage) |
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> |
ArtifactSubscriptionManagerImpl.validateSubscriptions(ImmutableJob consumer,
ImmutableChain chain,
String stageName) |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptions(ImmutableJob consumer,
ImmutableChain chain,
String stageName)
Validate consumer artifact subscriptions against target chain and stage
|
List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscriptionsForMovedJob(ImmutableJob job,
ImmutableChainStage targetStage) |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptionsForMovedJob(ImmutableJob job,
ImmutableChainStage targetStage)
Validate all artifact subscriptions possibly affected by moving a job.
|
Constructor and Description |
---|
ImmutableArtifactDefinitionListLazyReference(ImmutableArtifactManager immutableArtifactManager,
ImmutableJob job) |
ImmutableArtifactSubscriptionListLazyReference(ImmutableArtifactManager immutableArtifactManager,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
static ImmutableJob |
ChainBranchUtils.findJobByMasterId(ImmutableChain chain,
long masterJobId) |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableJobImpl |
Modifier and Type | Method and Description |
---|---|
<T extends ImmutableJob> |
ImmutablePlanCacheServiceImpl.filterOutDeletedIfNeeded(Set<T> jobs) |
<T extends ImmutableJob> |
ImmutablePlanCacheService.filterOutDeletedIfNeeded(Set<T> jobs)
Returns a set with deleted jobs removed.
|
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
ImmutablePlanManagerImpl.createImmutableJob(ImmutableChain parent,
ImmutableChainStage stage,
Job job) |
ImmutableJob |
ImmutablePlanManager.createImmutableJob(ImmutableChain parent,
ImmutableChainStage stage,
Job job) |
ImmutableJob |
ImmutableJobImpl.getMaster() |
ImmutableJob |
ImmutableJob.getMaster() |
ImmutableJob |
CachedPlanManagerImpl.getMasterOfJob(PlanKey masterChainKey,
PlanKey jobKey) |
ImmutableJob |
CachedPlanManager.getMasterOfJob(PlanKey masterChainKey,
PlanKey jobKey) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<ImmutableJob> |
AbstractImmutableChain.getAllJobs()
Get list of jobs sorted by
- stage order
- job name (case insensitive)
|
List<? extends ImmutableJob> |
ImmutableChain.getAllJobs()
Note: Does not include Jobs that are marked for deletion.
|
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
JobServiceImpl.addJob(PlanKey chainKey,
long stageId,
String jobKeyString,
String name,
String description,
boolean suspended) |
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 |
JobServiceImpl.cloneJob(String sourceJobKeyString,
PlanKey chainKey,
long stageId,
String newJobKeyString,
String name,
String description,
boolean suspended) |
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 |
JobServiceImpl.getJob(PlanKey jobKey) |
ImmutableJob |
JobService.getJob(PlanKey jobKey)
Get an individual job
|
ImmutableJob |
JobServiceImpl.updateJob(PlanKey jobKey,
String name,
String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
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> |
JobServiceImpl.getJobsForPlan(PlanKey planKey)
Assumption is made that
AbstractImmutableChain.getAllJobs() will return 2-level sorted list of jobs |
List<ImmutableJob> |
JobService.getJobsForPlan(PlanKey planKey)
Get all jobs in a plan, ordered alphabetically
|
List<ImmutableJob> |
JobServiceImpl.getJobsForStage(PlanKey planKey,
long stageId) |
List<ImmutableJob> |
JobService.getJobsForStage(PlanKey planKey,
long stageId)
Get all jobs in a particular stage, ordered alphabetically
|
Modifier and Type | Method and Description |
---|---|
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(ImmutableJob job,
String pluginKey) |
Modifier and Type | Method and Description |
---|---|
void |
DummyPostJobAction.execute(StageExecution stageExecution,
ImmutableJob job,
BuildResultsSummary buildResultsSummary) |
Modifier and Type | Method and Description |
---|---|
static ImmutableJob |
MavenDependencyHelper.findDependencyProviderJob(ImmutableChain chain)
Search for a Job that could be a Maven dependencies provider (uses a MavenDependenciesProcessor task)
|
ImmutableJob |
ViewMaven2ChainSummary.getDependencyProviderJob() |
Modifier and Type | Method and Description |
---|---|
RestDedicatedAgentBuilder |
RestDedicatedAgentBuilder.withJob(ImmutableJob job) |
Constructor and Description |
---|
AgentAssignmentSearchResult(AgentAssignment.ExecutorType executorType,
long executorId,
ImmutableJob plan) |
AgentAssignmentSearchResult(ImmutableJob plan) |
Modifier and Type | Method and Description |
---|---|
RestJob |
JobConversionFunction.apply(ImmutableJob job,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
RestTask |
TaskConversionFunction.apply(DecoratedTaskDefinition<ImmutableJob> taskDefinition,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
List<ImmutableJob> |
PlanRestService.getBranchesForJob(ImmutableJob job) |
List<ImmutableJob> |
PlanRestServiceImpl.getBranchesForJob(ImmutableJob job) |
List<ImmutableJob> |
PlanRestService.getJobsForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of jobs of specified plan.
|
List<ImmutableJob> |
PlanRestServiceImpl.getJobsForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
List<ImmutableJob> |
PlanRestService.getBranchesForJob(ImmutableJob job) |
List<ImmutableJob> |
PlanRestServiceImpl.getBranchesForJob(ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
List<TestCase> |
TestQuarantineManagerImpl.getCurrentlyQuarantinedTests(ImmutableJob job) |
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> |
TestCaseHibernateDao.getQuarantinedTestCasesForJob(ImmutableJob job) |
List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForJob(ImmutableJob job)
Provide a list of the quarantined tests for a job
|
Modifier and Type | Method and Description |
---|---|
List<TaskDefinition> |
TaskConfigurationServiceImpl.getRelevantTasksForRepositoryId(ImmutableJob job,
long repositoryId) |
List<TaskDefinition> |
TaskConfigurationService.getRelevantTasksForRepositoryId(ImmutableJob job,
long repositoryId)
Return relevant
TaskDefinition for given Job and repositoryId |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<PlanRepositoryDefinition> |
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
default List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job)
Deprecated.
since 7.0 use
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition, ImmutableJob) instead. |
Modifier and Type | Method and Description |
---|---|
static int |
Comparators.jobStagePlanNameCaseInsensitiveCompare(ImmutableJob o1,
ImmutableJob o2) |
Constructor and Description |
---|
RequirementImmutablePlanMapping(Requirement requirement,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Deprecated.
since 5.14
|
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
WarningsTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
Map<ImmutableJob,List<TaskDefinition>> |
DeleteRepository.getRelevantJobsUsingRepository() |
Modifier and Type | Method and Description |
---|---|
List<DecoratedTaskDefinition> |
TaskUIConfigBean.getDecoratedFinalisingTaskDefinitions(ImmutableJob job) |
List<DecoratedTaskDefinition> |
TaskUIConfigBean.getDecoratedTaskDefinitions(ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
List<ImmutableJob> |
ViewAggregatedJobPlugins.getAvailableJobs() |
List<ImmutableJob> |
CreateJob.getJobsToClone()
Used on first render for functional tests
|
Modifier and Type | Method and Description |
---|---|
String |
StageAction.getAgentUnavailabilityHint(ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
static String |
AgentAvailabilityHintHelper.getAgentUnavailabilityHint(ExecutableAgentsHelper executableAgentsHelper,
ElasticFunctionalityFacade elasticFunctionalityFacade,
AdministrationConfigurationAccessor administrationConfigurationAccessor,
com.atlassian.core.i18n.I18nTextProvider textProvider,
ImmutableJob job,
boolean assumeInstanceForEveryImage)
Returns a string describing the reason for which a job can't (won't) be built.
|
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.