| Modifier and Type | Method and Description |
|---|---|
static PlanAwareBandanaContext |
PlanAwareBandanaContext.forJob(@NotNull 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(@NotNull ImmutableJob job,
@NotNull 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 |
|---|---|
void |
PostJobAction.execute(@NotNull StageExecution stageExecution,
@NotNull ImmutableJob job,
@NotNull BuildResultsSummary buildResultsSummary)
Executes the custom action
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableJob |
ViewAgents.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
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(@NotNull CachedPlanManager cachedPlanManager,
@NotNull 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(@NotNull CachedPlanManager cachedPlanManager,
@NotNull ImmutableJob masterJob) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableJob |
ImmutableArtifactSubscriptionImpl.getConsumerJob() |
@NotNull ImmutableJob |
ImmutableArtifactSubscription.getConsumerJob()
Get job which consumes the artifact
|
@NotNull ImmutableJob |
ImmutableArtifactDefinitionImpl.getProducerJob() |
@NotNull ImmutableJob |
ImmutableArtifactDefinition.getProducerJob()
Get Buildable that is a producer of artifact
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.findCurrentSubscriptionsForPlan(@NotNull ImmutableJob producerJob) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManager.findCurrentSubscriptionsForPlan(@NotNull ImmutableJob producerJob)
Get list of subscriptions existing in a chain for given artifact
|
@NotNull List<ArtifactDefinition> |
ArtifactSubscriptionManagerImpl.findSubscriptionsPossibleForPlan(@NotNull ImmutableJob job) |
@NotNull List<ArtifactDefinition> |
ArtifactSubscriptionManager.findSubscriptionsPossibleForPlan(@NotNull ImmutableJob job)
Get list of chain level artifacts available for specified plan
|
@NotNull List<ArtifactDefinitionContext> |
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext buildContext,
SecureToken secureToken) |
@NotNull List<ArtifactDefinitionContext> |
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext buildContext,
SecureToken secureToken)
Helps prepare the artifact definitions
|
@NotNull List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext parentBuildContext,
SecureToken secureToken) |
@NotNull List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManager.prepareSubscriptionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext parentBuildContext,
SecureToken secureToken) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscribersForMovedJob(@NotNull ImmutableJob producer,
@NotNull ImmutableChainStage destinationStage) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscribersForMovedJob(@NotNull ImmutableJob producer,
@NotNull ImmutableChainStage producerStage)
Validate all consumer artifact subscriptions to the artifacts produced by a Job against target stage
|
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscriptions(@NotNull ImmutableJob consumer,
@NotNull ImmutableChain chain,
@NotNull String stageName) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptions(@NotNull ImmutableJob consumer,
@NotNull ImmutableChain chain,
@NotNull String stageName)
Validate consumer artifact subscriptions against target chain and stage
|
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscriptionsForMovedJob(@NotNull ImmutableJob job,
@NotNull ImmutableChainStage targetStage) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptionsForMovedJob(@NotNull ImmutableJob job,
@NotNull ImmutableChainStage targetStage)
Validate all artifact subscriptions possibly affected by moving a job.
|
| Constructor and Description |
|---|
ImmutableArtifactDefinitionListLazyReference(@NotNull ImmutableArtifactManager immutableArtifactManager,
@NotNull ImmutableJob job) |
ImmutableArtifactSubscriptionListLazyReference(@NotNull ImmutableArtifactManager immutableArtifactManager,
@NotNull ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ImmutableJob |
ChainBranchUtils.findJobByMasterId(@NotNull ImmutableChain chain,
long masterJobId) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableJobImpl |
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableJob> |
ImmutablePlanCacheServiceImpl.filterOutDeletedIfNeeded(@NotNull Set<T> jobs) |
<T extends ImmutableJob> |
ImmutablePlanCacheService.filterOutDeletedIfNeeded(@NotNull Set<T> jobs)
Returns a set with deleted jobs removed.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableJob |
ImmutablePlanManagerImpl.createImmutableJob(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull Job job) |
@NotNull ImmutableJob |
ImmutablePlanManager.createImmutableJob(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull Job job) |
@NotNull ImmutableJob |
ImmutablePlanManagerImpl.createImmutableJobBasedOnDto(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull EnrichedPlanDto jobDto,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
@NotNull ImmutableJob |
ImmutablePlanManager.createImmutableJobBasedOnDto(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull EnrichedPlanDto job,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight)
Create immutable
ImmutableJob. |
ImmutableJob |
ImmutableJobImpl.getMaster() |
ImmutableJob |
ImmutableJob.getMaster() |
@Nullable ImmutableJob |
CachedPlanManagerImpl.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
@Nullable ImmutableJob |
CachedPlanManager.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableJob |
JobServiceImpl.addJob(@NotNull PlanKey chainKey,
long stageId,
@Nullable String jobKeyString,
@Nullable String name,
@Nullable String description,
boolean suspended) |
@NotNull ImmutableJob |
JobService.addJob(@NotNull PlanKey chainKey,
long stageId,
@NotNull String jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended)
Add a job to an existing stage in the plan
|
ImmutableJob |
JobServiceImpl.cloneJob(@NotNull String sourceJobKeyString,
@NotNull PlanKey chainKey,
long stageId,
@NotNull String newJobKeyString,
@NotNull String name,
@Nullable String description,
boolean suspended) |
@NotNull ImmutableJob |
JobService.cloneJob(@NotNull String sourceJobKey,
@NotNull PlanKey chainKey,
long stageId,
@NotNull String newJobKey,
@NotNull String name,
@Nullable String description,
boolean suspended)
Copy the given job and give the copy the key, name, description and suspended state provided.
|
@NotNull ImmutableJob |
JobServiceImpl.getJob(@NotNull PlanKey jobKey) |
@NotNull ImmutableJob |
JobService.getJob(@NotNull PlanKey jobKey)
Get an individual job
|
@NotNull ImmutableJob |
JobServiceImpl.updateJob(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
@NotNull ImmutableJob |
JobService.updateJob(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Update the details of a job
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(ImmutableJob job,
String pluginKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
DummyPostJobAction.execute(@NotNull StageExecution stageExecution,
@NotNull ImmutableJob job,
@NotNull BuildResultsSummary buildResultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ImmutableJob |
MavenDependencyHelper.findDependencyProviderJob(@NotNull ImmutableChain chain)
Search for a Job that could be a Maven dependencies provider (uses a MavenDependenciesProcessor task)
|
@Nullable ImmutableJob |
ViewMaven2ChainSummary.getDependencyProviderJob() |
| Modifier and Type | Method and Description |
|---|---|
RestDedicatedAgentBuilder |
RestDedicatedAgentBuilder.withJob(@NotNull ImmutableJob job) |
| Constructor and Description |
|---|
AgentAssignmentSearchResult(AgentAssignment.ExecutorType executorType,
long executorId,
@NotNull ImmutableJob plan) |
AgentAssignmentSearchResult(@NotNull ImmutableJob plan) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull RestJob |
JobConversionFunction.apply(@NotNull ImmutableJob job,
@NotNull Expansion expansion,
@NotNull 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(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of jobs of specified plan.
|
List<ImmutableJob> |
PlanRestServiceImpl.getJobsForPlan(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull 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 |
|---|---|
@NotNull List<TestCase> |
TestQuarantineManagerImpl.getCurrentlyQuarantinedTests(@NotNull ImmutableJob job) |
@NotNull List<TestCase> |
TestQuarantineManager.getCurrentlyQuarantinedTests(@NotNull 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
|
@NotNull List<TestCase> |
TestCaseHibernateDao.getQuarantinedTestCasesForJob(@NotNull ImmutableJob job) |
@NotNull List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForJob(@NotNull ImmutableJob job)
Provide a list of the quarantined tests for a job
|
| Modifier and Type | Method and Description |
|---|---|
List<TaskDefinition> |
TaskConfigurationServiceImpl.getRelevantTasksForRepositoryId(@NotNull ImmutableJob job,
long repositoryId) |
List<TaskDefinition> |
TaskConfigurationService.getRelevantTasksForRepositoryId(@NotNull ImmutableJob job,
long repositoryId)
Return relevant
TaskDefinition for given Job and repositoryId |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
@NotNull List<PlanRepositoryDefinition> |
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
@NotNull List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
default @NotNull List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull 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(@NotNull Requirement requirement,
@NotNull ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
VcsRepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan,
long repositoryId)
Deprecated.
since 5.14
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<PlanRepositoryDefinition> |
WarningsTaskConfigurator.getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableJob,List<TaskDefinition>> |
DeleteRepository.getRelevantJobsUsingRepository() |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratedTaskDefinition> |
TaskUIConfigBean.getDecoratedFinalisingTaskDefinitions(@NotNull ImmutableJob job) |
List<DecoratedTaskDefinition> |
TaskUIConfigBean.getDecoratedTaskDefinitions(@NotNull ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableJob> |
ViewAggregatedJobPlugins.getAvailableJobs() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
StageAction.getAgentUnavailabilityHint(@NotNull ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable String |
AgentAvailabilityHintHelper.getAgentUnavailabilityHint(@NotNull ExecutableAgentsHelper executableAgentsHelper,
@NotNull ElasticFunctionalityFacade elasticFunctionalityFacade,
@NotNull AdministrationConfigurationAccessor administrationConfigurationAccessor,
@NotNull com.atlassian.core.i18n.I18nTextProvider textProvider,
@NotNull ImmutableJob job,
boolean assumeInstanceForEveryImage)
Returns a string describing the reason for which a job can't (won't) be built.
|
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.