Uses of Interface
com.atlassian.bamboo.plan.cache.ImmutableJob
Package
Description
-
Uses of ImmutableJob in com.atlassian.bamboo.bandana
Modifier and TypeMethodDescriptionstatic PlanAwareBandanaContext
PlanAwareBandanaContext.forJob
(@NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.build
ModifierConstructorDescriptionJobStatusHelper
(ImmutableJob job, BuildExecutionManager buildExecutionManager) -
Uses of ImmutableJob in com.atlassian.bamboo.build.creation
Modifier and TypeMethodDescriptionRepositoryConfigHelper.getRepositoriesForWorkingDirSelection
(@NotNull ImmutableJob job, @NotNull VcsRepositoryManager vcsRepositoryManager) Deprecated.Scans checkout tasks for repositories that define their source directory. -
Uses of ImmutableJob in com.atlassian.bamboo.build.tests
ModifierConstructorDescriptionFailingTestCaseForDisplay
(TestCase testCase, Long failuresCount, ImmutableJob job) TestCaseForDisplay
(TestCase testCase, ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.buildqueue.manager
Modifier and TypeMethodDescriptionboolean
AgentAssignmentService.isCapabilitiesMatch
(ElasticImageConfiguration image, ImmutableJob job) boolean
AgentAssignmentService.isCapabilitiesMatch
(EphemeralAgentTemplate template, ImmutableJob job) boolean
AgentAssignmentService.isCapabilitiesMatch
(BuildAgent agent, ImmutableJob job) Helper methods to check if executor is capable of running executableboolean
AgentAssignmentServiceImpl.isCapabilitiesMatch
(ElasticImageConfiguration image, ImmutableJob job) boolean
AgentAssignmentServiceImpl.isCapabilitiesMatch
(EphemeralAgentTemplate template, ImmutableJob job) boolean
AgentAssignmentServiceImpl.isCapabilitiesMatch
(BuildAgent agent, ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.chains
Modifier and TypeMethodDescription@NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) Modifier and TypeMethodDescription@NotNull ChainStateResult
ChainResultManager.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stageToExecute) @NotNull ChainStateResult
ChainResultManagerImpl.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stagesToExecute) @NotNull ChainStateResult
ChainResultManager.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobRestartInfo) Creates aChainState
as well stage and job results for build already executed and being rerun.@NotNull ChainStateResult
ChainResultManagerImpl.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobResultInfoForRerunMap) -
Uses of ImmutableJob in com.atlassian.bamboo.chains.cache
Modifier and TypeMethodDescription@NotNull Set<? extends ImmutableJob>
ImmutableChainStage.getJobs()
Gets theImmutableJob
s associated with this Stage.@NotNull Set<ImmutableJob>
ImmutableChainStageImpl.getJobs()
-
Uses of ImmutableJob in com.atlassian.bamboo.chains.plugins
Modifier and TypeMethodDescriptionvoid
PostJobAction.execute
(@NotNull StageExecution stageExecution, @NotNull ImmutableJob job, @NotNull BuildResultsSummary buildResultsSummary) Executes the custom action -
Uses of ImmutableJob in com.atlassian.bamboo.configuration.agent
Modifier and TypeMethodDescription@Nullable Collection<? extends ImmutableJob>
ViewAgentPlanMatrix.getBuildablesForPlan
(ImmutablePlan plan) RenameAgentCapability.getRequirementPlanDeltaMap()
-
Uses of ImmutableJob in com.atlassian.bamboo.credentials
ModifierConstructorDescriptionSharedCredentialsInJobs
(Long sharedCredentialsId, List<ImmutableJob> jobsWithSharedCredentials) -
Uses of ImmutableJob in com.atlassian.bamboo.plan
Modifier and TypeMethodDescriptionstatic ImmutableJob
PlanHelper.getBranchedImmutableJob
(ImmutableChain chainBranch, ImmutableJob masterJob) Searches for a corresponding job in a branch.Modifier and TypeMethodDescriptionstatic Stream<ImmutableJob>
PlanHelper.getBranchesForJob
(@NotNull CachedPlanManager cachedPlanManager, @NotNull ImmutableJob masterJob) static Comparator<ImmutableJob>
PlanComparators.jobStageIndexComparator()
Modifier and TypeMethodDescriptionstatic 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) -
Uses of ImmutableJob in com.atlassian.bamboo.plan.artifact
Modifier and TypeMethodDescription@NotNull ImmutableJob
ImmutableArtifactSubscription.getConsumerJob()
Get job which consumes the artifact@NotNull ImmutableJob
ImmutableArtifactSubscriptionImpl.getConsumerJob()
@NotNull ImmutableJob
ImmutableArtifactDefinition.getProducerJob()
Get Buildable that is a producer of artifact@NotNull ImmutableJob
ImmutableArtifactDefinitionImpl.getProducerJob()
Modifier and TypeMethodDescription@NotNull Multimap<? extends ImmutableJob,
ArtifactDefinition> ArtifactDefinitionManager.getArtifactDefinitionsByJob
(@NotNull ImmutableChain chain, Predicate<ArtifactDefinitionBase> predicate) ReturnsArtifactDefinition
grouped byJob
where definitions are defined@NotNull Multimap<? extends ImmutableJob,
ArtifactDefinition> ArtifactDefinitionManagerImpl.getArtifactDefinitionsByJob
(@NotNull ImmutableChain chain, Predicate<ArtifactDefinitionBase> predicate) GetArtifactDefinition
grouped byJob
Modifier and TypeMethodDescription@NotNull List<ArtifactSubscription>
ArtifactSubscriptionManager.findCurrentSubscriptionsForPlan
(@NotNull ImmutableJob producerJob) Get list of subscriptions existing in a chain for given artifact@NotNull List<ArtifactSubscription>
ArtifactSubscriptionManagerImpl.findCurrentSubscriptionsForPlan
(@NotNull ImmutableJob producerJob) @NotNull List<ArtifactDefinition>
ArtifactSubscriptionManager.findSubscriptionsPossibleForPlan
(@NotNull ImmutableJob job) Get list of chain level artifacts available for specified plan@NotNull List<ArtifactDefinition>
ArtifactSubscriptionManagerImpl.findSubscriptionsPossibleForPlan
(@NotNull ImmutableJob job) @NotNull List<ArtifactDefinitionContext>
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext buildContext, SecureToken secureToken) Helps prepare the artifact definitions@NotNull List<ArtifactDefinitionContext>
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext buildContext, SecureToken secureToken) @NotNull List<ArtifactSubscriptionContext>
ArtifactSubscriptionManager.prepareSubscriptionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext parentBuildContext, SecureToken secureToken) @NotNull List<ArtifactSubscriptionContext>
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext parentBuildContext, SecureToken secureToken) @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.validateSubscribersForMovedJob
(@NotNull ImmutableJob producer, @NotNull ImmutableChainStage destinationStage) @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.validateSubscriptions
(@NotNull ImmutableJob consumer, @NotNull ImmutableChain chain, @NotNull String stageName) @NotNull List<ArtifactSubscription>
ArtifactSubscriptionManager.validateSubscriptionsForMovedJob
(@NotNull ImmutableJob job, @NotNull ImmutableChainStage targetStage) Validate all artifact subscriptions possibly affected by moving a job.@NotNull List<ArtifactSubscription>
ArtifactSubscriptionManagerImpl.validateSubscriptionsForMovedJob
(@NotNull ImmutableJob job, @NotNull ImmutableChainStage targetStage) ModifierConstructorDescriptionImmutableArtifactDefinitionListLazyReference
(@NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull ImmutableJob job) ImmutableArtifactSubscriptionListLazyReference
(@NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescriptionstatic @Nullable ImmutableJob
ChainBranchUtils.findJobByMasterId
(@NotNull ImmutableChain chain, long masterJobId) -
Uses of ImmutableJob in com.atlassian.bamboo.plan.cache
Modifier and TypeMethodDescription<T extends ImmutableJob>
@NotNull Set<T>ImmutablePlanCacheService.filterOutDeletedIfNeeded
(@NotNull Set<T> jobs) Returns a set with deleted jobs removed.<T extends ImmutableJob>
@NotNull Set<T>ImmutablePlanCacheServiceImpl.filterOutDeletedIfNeeded
(@NotNull Set<T> jobs) Modifier and TypeMethodDescription@NotNull ImmutableJob
ImmutablePlanManager.createImmutableJobBasedOnDto
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull EnrichedPlanDto job, boolean isLightWeight) Create immutableImmutableJob
.@NotNull ImmutableJob
ImmutablePlanManagerImpl.createImmutableJobBasedOnDto
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull EnrichedPlanDto jobDto, boolean isLightWeight) @NotNull ImmutableJob
ImmutablePlanManager.createLightweightImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull ImmutableJob job) @NotNull ImmutableJob
ImmutablePlanManagerImpl.createLightweightImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull ImmutableJob job) ImmutableJob.getMaster()
ImmutableJobImpl.getMaster()
@Nullable ImmutableJob
CachedPlanManager.getMasterOfJob
(@NotNull PlanKey masterChainKey, @NotNull PlanKey jobKey) @Nullable ImmutableJob
CachedPlanManagerImpl.getMasterOfJob
(@NotNull PlanKey masterChainKey, @NotNull PlanKey jobKey) Modifier and TypeMethodDescription@NotNull com.google.common.collect.ImmutableList<ImmutableJob>
AbstractImmutableChain.getAllJobs()
Get list of jobs sorted by - stage order - job name (case insensitive)@NotNull List<? extends ImmutableJob>
ImmutableChain.getAllJobs()
Note: Does not include Jobs that are marked for deletion.Modifier and TypeMethodDescriptionstatic ImmutableJobImpl
ImmutableJobImpl.createLightweightImmutableJob
(ImmutableChain parent, ImmutableChainStage stage, ImmutableJob job, BuildLoggerManager buildLoggerManager, LabelDao labelDao, VariableDefinitionManager variableDefinitionManager, TaskManager taskManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, BuildDefinition buildDefinition, CachedPlanManager cachedPlanManager, ImmutableArtifactManager immutableArtifactManager) @NotNull ImmutableJob
ImmutablePlanManager.createLightweightImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull ImmutableJob job) @NotNull ImmutableJob
ImmutablePlanManagerImpl.createLightweightImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.plan.job
Modifier and TypeMethodDescription@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@NotNull ImmutableJob
JobServiceImpl.addJob
(@NotNull PlanKey chainKey, long stageId, @Nullable String jobKeyString, @Nullable 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.JobServiceImpl.cloneJob
(@NotNull String sourceJobKeyString, @NotNull PlanKey chainKey, long stageId, @NotNull String newJobKeyString, @NotNull String name, @Nullable String description, boolean suspended) @NotNull ImmutableJob
Get an individual job.@NotNull ImmutableJob
@NotNull ImmutableJob
JobService.getJobWithConsistencyGuarantee
(@NotNull PlanKey jobKey) Get an individual job.@NotNull ImmutableJob
JobServiceImpl.getJobWithConsistencyGuarantee
(@NotNull PlanKey jobKey) @NotNull ImmutableJob
JobService.updateJob
(@NotNull PlanKey jobKey, @NotNull String name, @Nullable String description, boolean suspended, long stageId, @NotNull BambooClosures.Throwing1<ImmutableJob, WebValidationException>... runBefore) Update the details of a job@NotNull ImmutableJob
JobServiceImpl.updateJob
(@NotNull PlanKey jobKey, @NotNull String name, @Nullable String description, boolean suspended, long stageId, @NotNull BambooClosures.Throwing1<ImmutableJob, WebValidationException>... runBefore) Modifier and TypeMethodDescription@NotNull List<ImmutableJob>
JobService.getJobsForPlan
(@NotNull PlanKey planKey) Get all jobs in a plan, ordered alphabetically@NotNull List<ImmutableJob>
JobServiceImpl.getJobsForPlan
(@NotNull PlanKey planKey) Assumption is made thatAbstractImmutableChain.getAllJobs()
will return 2-level sorted list of jobs@NotNull List<ImmutableJob>
JobService.getJobsForStage
(@NotNull PlanKey planKey, long stageId) Get all jobs in a particular stage, ordered alphabetically@NotNull List<ImmutableJob>
JobServiceImpl.getJobsForStage
(@NotNull PlanKey planKey, long stageId) -
Uses of ImmutableJob in com.atlassian.bamboo.plugin
Modifier and TypeMethodDescriptionstatic Iterable<TaskDefinition>
BambooPluginUtils.filterTasks
(ImmutableJob job, String pluginKey) -
Uses of ImmutableJob in com.atlassian.bamboo.plugins.dummy
Modifier and TypeMethodDescriptionvoid
DummyPostJobAction.execute
(@NotNull StageExecution stageExecution, @NotNull ImmutableJob job, @NotNull BuildResultsSummary buildResultsSummary) -
Uses of ImmutableJob in com.atlassian.bamboo.plugins.maven.dependencies
Modifier and TypeMethodDescriptionstatic @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()
-
Uses of ImmutableJob in com.atlassian.bamboo.plugins.rest.model.search
ModifierConstructorDescriptionAgentAssignmentSearchResult
(@NotNull ImmutableJob plan) AgentAssignmentSearchResult
(AgentAssignment.ExecutorType executorType, long executorId, @NotNull ImmutableJob plan) -
Uses of ImmutableJob in com.atlassian.bamboo.plugins.rest.plan.stage.job
Modifier and TypeMethodDescription@NotNull RestJob
JobConversionFunction.apply
(@NotNull ImmutableJob job, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) -
Uses of ImmutableJob in com.atlassian.bamboo.plugins.rest.plan.stage.job.task
Modifier and TypeMethodDescription@NotNull RestTask
TaskConversionFunction.apply
(@NotNull DecoratedTaskDefinition<ImmutableJob> taskDefinition, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) -
Uses of ImmutableJob in com.atlassian.bamboo.plugins.rest.service
Modifier and TypeMethodDescriptionPlanRestService.getBranchesForJob
(ImmutableJob job) PlanRestServiceImpl.getBranchesForJob
(ImmutableJob job) PlanRestService.getJobsForPlan
(@NotNull PlanKey planKey, @NotNull javax.ws.rs.core.UriInfo uriInfo, @NotNull RestAuthenticationContext restAuthenticationContext) Get a list of jobs of specified plan.PlanRestServiceImpl.getJobsForPlan
(@NotNull PlanKey planKey, @NotNull javax.ws.rs.core.UriInfo uriInfo, @NotNull RestAuthenticationContext restAuthenticationContext) Modifier and TypeMethodDescriptionPlanRestService.getBranchesForJob
(ImmutableJob job) PlanRestServiceImpl.getBranchesForJob
(ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.resultsummary.tests
Modifier and TypeMethodDescriptionTestQuarantineManager.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 configTestQuarantineManagerImpl.getCurrentlyQuarantinedTests
(@NotNull ImmutableJob job) TestCaseDao.getQuarantinedTestCasesForJob
(@NotNull ImmutableJob job) Provide a list of the quarantined tests for a jobTestCaseHibernateDao.getQuarantinedTestCasesForJob
(@NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.task
Modifier and TypeMethodDescriptionTaskConfigurationService.getRelevantTasksForRepositoryId
(@NotNull ImmutableJob job, long repositoryId) Return relevantTaskDefinition
for givenJob
and repositoryIdTaskConfigurationServiceImpl.getRelevantTasksForRepositoryId
(@NotNull ImmutableJob job, long repositoryId) -
Uses of ImmutableJob in com.atlassian.bamboo.task.repository
Modifier and TypeMethodDescription@NotNull List<PlanRepositoryDefinition>
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask
(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job) @NotNull List<PlanRepositoryDefinition>
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask
(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic int
Comparators.jobStagePlanNameCaseInsensitiveCompare
(ImmutableJob o1, ImmutableJob o2) -
Uses of ImmutableJob in com.atlassian.bamboo.v2.build.agent.capability
ModifierConstructorDescriptionRequirementImmutablePlanMapping
(@NotNull Requirement requirement, @NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.vcs.configuration.service
Modifier and TypeMethodDescriptionVcsRepositoryConfigurationService.getRelevantJobsForRepositoryIdChange
(@NotNull ImmutablePlan plan, long repositoryId) Deprecated.since 5.14VcsRepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange
(@NotNull ImmutablePlan plan, long repositoryId) -
Uses of ImmutableJob in com.atlassian.bamboo.warnings
Modifier and TypeMethodDescription@NotNull List<PlanRepositoryDefinition>
WarningsTaskConfigurator.getPlanRepositoriesUsedByTask
(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.ww2.actions.build.admin.config.repository
-
Uses of ImmutableJob in com.atlassian.bamboo.ww2.actions.build.admin.config.task
Modifier and TypeMethodDescriptionTaskUIConfigBean.getDecoratedFinalisingTaskDefinitions
(@NotNull ImmutableJob job) TaskUIConfigBean.getDecoratedTaskDefinitions
(@NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.ww2.actions.chains
Modifier and TypeMethodDescriptionViewAggregatedJobPlugins.getAvailableJobs()
@NotNull List<ImmutableJob>
CreateJob.getJobsToClone()
Used on first render for functional testsModifier and TypeMethodDescription@Nullable String
StageAction.getAgentUnavailabilityHint
(@NotNull ImmutableJob job) -
Uses of ImmutableJob in com.atlassian.bamboo.ww2.actions.plans
Modifier and TypeMethodDescriptionstatic @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.