Modifier and Type | Interface and Description |
---|---|
interface |
Buildable |
interface |
Job |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJob |
Modifier and Type | Method and Description |
---|---|
int |
BuildNumberGeneratorServiceImpl.generateBuildNumber(PlanIdentifier planIdentifier) |
int |
BuildNumberGeneratorService.generateBuildNumber(PlanIdentifier planIdentifier)
Returns a unique(consecutive) build number for a plan with the given key.
|
int |
BuildNumberGeneratorDao.generateBuildNumberNewTx(PlanIdentifier planIdentifier) |
int |
BuildNumberGeneratorDaoImpl.generateBuildNumberNewTx(PlanIdentifier planIdentifier) |
Set<String> |
PlanDependencyManagerImpl.getChildChainKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getChildChainKeys(PlanIdentifier plan)
Retrieves all chain that are children of the current plan
|
Collection<PlanDependency> |
PlanDependencyHibernateDao.getChildNonEditableDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
PlanDependencyDao.getChildNonEditableDependencies(PlanIdentifier plan) |
Set<PlanDependency> |
PlanDependencyManagerImpl.getChildPlanDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
PlanDependencyHibernateDao.getChildPlanDependencies(PlanIdentifier plan) |
Set<PlanDependency> |
PlanDependencyManager.getChildPlanDependencies(PlanIdentifier plan)
Retrieves all plan dependencies in which the given plan features as a parent
|
Collection<PlanDependency> |
PlanDependencyDao.getChildPlanDependencies(PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a parent
|
Set<String> |
PlanDependencyManagerImpl.getChildPlanKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getChildPlanKeys(PlanIdentifier plan)
Retrievs all plan that are children of the current plan
|
Set<String> |
PlanDependencyManagerImpl.getNotEditableChildKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getNotEditableChildKeys(PlanIdentifier plan)
Retrieves a list of keys representing the children that are not editable of the given plan
|
Set<String> |
PlanDependencyManagerImpl.getNotEditableParentKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getNotEditableParentKeys(PlanIdentifier plan)
Retrieves a list of keys representing the children that are not editable of the given plan
|
Set<String> |
PlanDependencyManagerImpl.getParentChainKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getParentChainKeys(PlanIdentifier plan)
Retrieves all chain that are children of the current plan
|
Collection<PlanDependency> |
PlanDependencyHibernateDao.getParentNonEditableDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
PlanDependencyDao.getParentNonEditableDependencies(PlanIdentifier plan) |
Set<PlanDependency> |
PlanDependencyManagerImpl.getParentPlanDependencies(PlanIdentifier plan) |
Collection<PlanDependency> |
PlanDependencyHibernateDao.getParentPlanDependencies(PlanIdentifier plan) |
Set<PlanDependency> |
PlanDependencyManager.getParentPlanDependencies(PlanIdentifier plan)
Retrieves all plan dependencies in which the given plan features as a child
|
Collection<PlanDependency> |
PlanDependencyDao.getParentPlanDependencies(PlanIdentifier plan)
Retrievs all plan dependencies in which the given plan features as a child
|
Set<String> |
PlanDependencyManagerImpl.getParentPlanKeys(PlanIdentifier plan) |
Set<String> |
PlanDependencyManager.getParentPlanKeys(PlanIdentifier plan)
Retrievs all plans that are a parent of the current plan
|
void |
BuildNumberGeneratorServiceImpl.initBuildNumbers(PlanIdentifier planIdentifier) |
void |
BuildNumberGeneratorService.initBuildNumbers(PlanIdentifier planIdentifier)
Initialise build numbers for a plan.
|
void |
BuildNumberGeneratorDao.initBuildNumbersNewTx(PlanIdentifier planIdentifier) |
void |
BuildNumberGeneratorDaoImpl.initBuildNumbersNewTx(PlanIdentifier planIdentifier) |
void |
PlanDependencyManagerImpl.removeAllDependenciesForPlan(PlanIdentifier plan) |
void |
PlanDependencyManager.removeAllDependenciesForPlan(PlanIdentifier plan)
Deletes any existing dependency featuring the given plan.
|
void |
PlanDependencyHibernateDao.removeDependenciesForPlan(PlanIdentifier plan) |
void |
PlanDependencyDao.removeDependenciesForPlan(PlanIdentifier plan)
Deletes any existing dependency featuring the given plan.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Chain
Mutable version of
ImmutableChain . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultChain |
Modifier and Type | Method and Description |
---|---|
ChainState |
ChainStateFactoryImpl.create(PlanIdentifier chain,
BuildContext chainBuildContext,
ChainStateResult chainResultState) |
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
BuildContext buildContext,
ChainStateResult chainResultState)
Creates a
ChainState |
ChainState |
ChainStateFactoryImpl.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState) |
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState)
Creates a {link ChainState} for extended execution config defined as
PlanExecutionConfig - continuable and restartable builds |
long |
ChainResultManagerImpl.getAverageProgressDurationForStages(PlanIdentifier chain,
Collection<ChainStageResult> stages,
int numberOfResults) |
long |
ChainResultManager.getAverageProgressDurationForStages(PlanIdentifier chain,
Collection<ChainStageResult> stageStates,
int numberOfResults)
Calculates average duration of provided stages execution
|
Modifier and Type | Field and Description |
---|---|
protected PlanIdentifier |
BuildTimesChart.plan |
protected PlanIdentifier |
BuildFailuresChart.plan |
Constructor and Description |
---|
BuildFailuresChart(int height,
int width,
String chartTitle,
String xAxisLabel,
String yAxisLabel,
PlanIdentifier plan,
List<? extends ResultsSummary> filteredResults,
String series) |
BuildTimesChart(int height,
int width,
String chartTitle,
String xAxisLabel,
String yAxisLabel,
PlanIdentifier plan,
List<? extends ResultsSummary> filteredResults,
String seriesLabel) |
CombinedBuildSummaryByBuildChart(int height,
int width,
PlanIdentifier plan,
List<? extends ResultsSummary> filteredResults,
com.atlassian.core.i18n.I18nTextProvider i18n) |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewAgent.hasPlanPermission(String permission,
PlanIdentifier plan) |
Modifier and Type | Field and Description |
---|---|
protected List<PlanIdentifier> |
AbstractLinkedRepositoryAction.planUsingRepository |
Modifier and Type | Method and Description |
---|---|
List<PlanIdentifier> |
AbstractLinkedRepositoryAction.getPlanUsingRepository() |
Modifier and Type | Method and Description |
---|---|
File |
ArtifactStorage.getArtifactDirectory(PlanIdentifier plan,
int buildNumber)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Set<Label> |
LabelHibernateDao.findPlanLabels(String namespace,
PlanIdentifier plan) |
Set<Label> |
LabelDao.findPlanLabels(String namespace,
PlanIdentifier plan)
Finds labels that are *only* plan level labellings matching the namespace and associated with a plan.
|
Modifier and Type | Method and Description |
---|---|
static <T extends PlanIdentifier> |
BambooTestMatchers.hasPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(org.hamcrest.Matcher<PlanKey> textMatcher) |
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(PlanKey planKey) |
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(String planKey) |
Modifier and Type | Interface and Description |
---|---|
interface |
Plan
Mutable version of the plan.
|
interface |
TopLevelPlan
Marker interface that specifies that the implementing
Plan is a 'top level' object |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChain |
class |
AbstractPlan
This plan is only partially migrated to annotation-based Hibernate model, to allow creating queries using the new
query mechanism.
|
class |
PlanIdentifierImpl |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<PlanIdentifier,PlanKey> |
PlanIdentifier.getPlanKeyFunction
Deprecated.
since 5.10 use PlanIdentifier::getPlanKey
|
Modifier and Type | Method and Description |
---|---|
PlanIdentifier |
PlanHibernateDao.getPlanIdentifierForPermissionCheckingByKey(String planKey) |
PlanIdentifier |
PlanManagerImpl.getPlanIdentifierForPermissionCheckingByKey(String planKey) |
PlanIdentifier |
PlanDao.getPlanIdentifierForPermissionCheckingByKey(String planKey)
Return a
Plan skeleton providing ONLY id and key, that matches the given key
This method should be used only for permission checking using Acegi
If Job key is provided as a parameter, parent Chain will be returned anyway, as Acegi assertions are defined only for TopLevelPlan s |
PlanIdentifier |
PlanManager.getPlanIdentifierForPermissionCheckingByKey(String planKey)
Returns a
Plan skeleton skeleton providing ONLY id and key, that matches the given key This method should
be used only for permission checking using Acegi |
Modifier and Type | Method and Description |
---|---|
<T extends Plan> |
PlanHibernateDao.getPlanIdentifiersForProject(ProjectIdentifier project,
Class<T> planType,
boolean includeMarkedForDeletion) |
<T extends Plan> |
PlanManagerImpl.getPlanIdentifiersForProject(ProjectIdentifier project,
Class<T> planType,
boolean includeMarkedForDeletion) |
<T extends Plan> |
PlanDao.getPlanIdentifiersForProject(ProjectIdentifier projectIdentifier,
Class<T> planType,
boolean includeMarkedForDeletion)
Returns minimal data about all plans in the given project
|
<T extends Plan> |
PlanManager.getPlanIdentifiersForProject(ProjectIdentifier project,
Class<T> planType,
boolean includeMarkedForDeletion)
Retrieve a list of plans for a given project.
|
static Predicate<PlanIdentifier> |
PlanPredicates.hasEqualBuildName(String name) |
static Predicate<PlanIdentifier> |
PlanPredicates.hasEqualPlanKey(PlanKey planKey) |
static Comparator<PlanIdentifier> |
PlanComparators.planKeyComparator() |
static com.google.common.collect.Ordering<PlanIdentifier> |
PlanComparators.planKeyOrdering() |
Modifier and Type | Method and Description |
---|---|
boolean |
PlanManagerImpl.assertPlanPermission(PlanIdentifier plan) |
boolean |
FilteringPlanManager.assertPlanPermission(PlanIdentifier plan)
Used to validate user permission for plan.
|
boolean |
PlanManager.assertPlanPermission(PlanIdentifier plan)
Used to validate user permission for plan.
|
List<ImmutableChainBranch> |
FilteringPlanManager.getBranchesForChain(PlanIdentifier chain)
Deprecated.
since 6.2 use
FilteringPlanManager.getBranchesOfChain(PlanKey) instead. Remember about sorting it for UI. |
List<ChainBranchIdentifier> |
PlanHibernateDao.getBranchIdentifiersForChain(PlanIdentifier plan) |
List<ChainBranchIdentifier> |
PlanDao.getBranchIdentifiersForChain(PlanIdentifier chain)
Returns minimal data about all branches which have the given chain as their master
|
static <T extends ImmutablePlan> |
PlanPredicates.isBranchOf(PlanIdentifier master) |
Constructor and Description |
---|
PlanIdentifierImpl(PlanIdentifier plan) |
Modifier and Type | Method and Description |
---|---|
ImmutableArtifactSubscriptionImpl.Builder |
ImmutableArtifactSubscriptionImpl.Builder.consumerJob(PlanIdentifier job) |
List<ArtifactSubscription> |
ArtifactSubscriptionHibernateDao.findArtifactSubscriptionOfPlan(PlanIdentifier plan) |
List<ArtifactSubscription> |
ArtifactSubscriptionDao.findArtifactSubscriptionOfPlan(PlanIdentifier plan)
Get list of artifact subscriptions associated with a plan
|
List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.findSubscriptionsOfPlan(PlanIdentifier plan) |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.findSubscriptionsOfPlan(PlanIdentifier plan)
Get list of artifact subscriptions associated with a plan
|
ImmutableArtifactDefinitionImpl.Builder |
ImmutableArtifactDefinitionImpl.Builder.producerJob(PlanIdentifier job) |
Modifier and Type | Interface and Description |
---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
interface |
ChainBranchIdentifier |
Modifier and Type | Class and Description |
---|---|
class |
ChainBranchIdentifierImpl |
class |
ChainBranchImpl |
Modifier and Type | Method and Description |
---|---|
List<ChainBranchIdentifier> |
ChainBranchManagerImpl.getBranchIdentifiersForChain(PlanIdentifier chain) |
List<ChainBranchIdentifier> |
ChainBranchManager.getBranchIdentifiersForChain(PlanIdentifier chain)
Get all feature branches associated with the given chain, however on pulls up
minimal details about each branch.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableChainBranchImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
ImmutableBuildable |
interface |
ImmutableChain
Represents a
Chain that is immutable. |
interface |
ImmutableChainBranch
Interface of an immutable version of
ChainBranch |
interface |
ImmutableJob
Immutable, threadsafe cacheable version of
Job |
interface |
ImmutablePlan
Represents a
Plan that is immutable. |
interface |
ImmutableTopLevelPlan
Represents a
TopLevelPlan that is immutable. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractImmutableChain |
class |
AbstractImmutablePlan |
class |
ImmutableChainImpl
A
ImmutableChain implementation. |
class |
ImmutableJobImpl |
Modifier and Type | Method and Description |
---|---|
<T extends PlanIdentifier> |
ImmutablePlanCacheServiceImpl.filterOutDeletedIfNeeded(Set<T> jobs) |
<T extends PlanIdentifier> |
ImmutablePlanCacheService.filterOutDeletedIfNeeded(Set<T> jobs)
Returns a set with deleted jobs removed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CachedPlanManagerImpl.assertPlanPermission(PlanIdentifier plan) |
List<ImmutableChainBranch> |
CachedPlanManagerImpl.getBranchesForChain(PlanIdentifier chain) |
Constructor and Description |
---|
PlanBuildNumbersImpl(PlanIdentifier planIdentifier) |
Modifier and Type | Method and Description |
---|---|
List<PlanIdentifier> |
PlanRepositoryLinkHibernateDao.getIdentifiersOfPlansUsingRepository(long repositoryId) |
List<PlanIdentifier> |
RepositoryDefinitionManagerImpl.getIdentifiersOfPlansUsingRepository(long repositoryId) |
List<PlanIdentifier> |
PlanRepositoryLinkDao.getIdentifiersOfPlansUsingRepository(long repositoryId)
Get identifiers of Plans referencing a repository.
|
List<PlanIdentifier> |
RepositoryDefinitionManager.getIdentifiersOfPlansUsingRepository(long repositoryId)
Get identifiers of Plans referencing a repository.
|
List<PlanIdentifier> |
PlanRepositoryLinkHibernateDao.getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId) |
List<PlanIdentifier> |
RepositoryDefinitionManagerImpl.getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId) |
List<PlanIdentifier> |
PlanRepositoryLinkDao.getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId)
Get identifiers of Plans referencing a repository, either directly or through inheritance (only direct parent-child relationship is checked)
|
List<PlanIdentifier> |
RepositoryDefinitionManager.getIdentifiersOfPlansUsingRepositoryOrItsDirectChildren(long repositoryId)
Get identifiers of
Chain s referencing a repository, either directly or through inheritance (only direct parent-child relationship is checked)
If the parameter refers to a linked repository, only TopLevelPlan s are returned. |
Constructor and Description |
---|
RestPlanIdentifier(PlanIdentifier planIdentifier) |
Modifier and Type | Method and Description |
---|---|
ResultsSummary |
IndexedBuildResultsSearcherImpl.findLatestRelevantBuildResult(PlanIdentifier plan,
Long beforeLastCompletedTimestamp) |
ResultsSummary |
IndexedBuildResultsSearcher.findLatestRelevantBuildResult(PlanIdentifier plan,
Long beforeLastCompletedTimestamp)
Find the last finished build of a plan that completed before given time
|
Modifier and Type | Method and Description |
---|---|
List<Pair<Long,Float>> |
TestCaseHibernateDao.getLongestToFixTestCasesForPlan(PlanIdentifier plan) |
List<Pair<Long,Float>> |
TestCaseDao.getLongestToFixTestCasesForPlan(PlanIdentifier plan)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<Long,Long>> |
TestCaseHibernateDao.getMostFailingTestCasesForPlan(PlanIdentifier plan) |
List<Pair<Long,Long>> |
TestCaseDao.getMostFailingTestCasesForPlan(PlanIdentifier plan)
Provide a list of the top 10 most failing test cases for a plan.
|
Modifier and Type | Method and Description |
---|---|
File |
ArtifactStorageImpl.getArtifactDirectory(PlanIdentifier plan,
int buildNumber)
Deprecated.
|
Constructor and Description |
---|
ChildDependencyBuildDetectionAction(ImmutablePlan plan,
PlanIdentifier child,
BuildNumberGeneratorService buildNumberGenerator,
TriggerManager triggerManager,
BuildChanges buildChanges,
ErrorUpdateHandler errorUpdateHandler,
ImmutablePlanCacheService immutablePlanCacheService,
BuildContextBuilderFactory buildContextBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
<V> V |
CustomVariableContextRunnerImpl.execute(PlanIdentifier plan,
Callable<V> callable) |
<V> V |
CustomVariableContextRunner.execute(PlanIdentifier plan,
Callable<V> callable) |
void |
CustomVariableContextRunnerImpl.execute(PlanIdentifier plan,
Runnable runnable) |
void |
CustomVariableContextRunner.execute(PlanIdentifier plan,
Runnable runnable) |
VariableDefinition |
VariableDefinitionHibernateDao.findPlanVariableByKey(PlanIdentifier plan,
String key) |
VariableDefinition |
VariableDefinitionDao.findPlanVariableByKey(PlanIdentifier plan,
String key)
Find plan variable by its key
|
List<VariableDefinition> |
VariableDefinitionHibernateDao.findVariablesByPlan(PlanIdentifier plan) |
List<VariableDefinition> |
VariableDefinitionDao.findVariablesByPlan(PlanIdentifier plan)
Find plan variable definitions for a given plan
|
List<VariableDefinition> |
VariableDefinitionManagerImpl.getGlobalNotOverriddenVariables(PlanIdentifier plan) |
List<VariableDefinition> |
VariableDefinitionAccessorImpl.getGlobalNotOverriddenVariables(PlanIdentifier plan) |
List<VariableDefinition> |
VariableDefinitionAccessor.getGlobalNotOverriddenVariables(PlanIdentifier plan)
Get list of all global variables that are not overridden by plan variables for a given plan
|
VariableDefinition |
VariableDefinitionManagerImpl.getPlanVariableByKey(PlanIdentifier plan,
String key) |
VariableDefinition |
VariableDefinitionAccessorImpl.getPlanVariableByKey(PlanIdentifier plan,
String key) |
VariableDefinition |
VariableDefinitionAccessor.getPlanVariableByKey(PlanIdentifier plan,
String key)
Retrieves a specific variable for the plan with the given key
|
List<VariableDefinition> |
VariableDefinitionManagerImpl.getPlanVariables(PlanIdentifier plan) |
List<VariableDefinition> |
VariableDefinitionAccessorImpl.getPlanVariables(PlanIdentifier plan) |
List<VariableDefinition> |
VariableDefinitionAccessor.getPlanVariables(PlanIdentifier plan)
Get list of plan variables associated with a given plan
|
void |
CustomVariableContextImpl.setPlan(PlanIdentifier planIdentifier,
Map<String,VariableDefinitionContext> variablesContextMap) |
void |
CustomVariableContextForTests.setPlan(PlanIdentifier plan,
Map<String,VariableDefinitionContext> variablesContextMap) |
void |
CustomVariableContext.setPlan(PlanIdentifier plan,
Map<String,VariableDefinitionContext> variablesContextMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StarterAction.hasBranches(PlanIdentifier plan) |
boolean |
StarterAction.hasPlanPermission(String permission,
PlanIdentifier plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
FreemarkerContext.canRunCustomBuild(PlanIdentifier plan)
Checks if the current user has permissions sufficient to run custom/parameterised build of a given plan
|
boolean |
BambooActionSupport.hasPlanPermission(String permission,
PlanIdentifier plan) |
Modifier and Type | Method and Description |
---|---|
List<PlanIdentifier> |
ChainActionSupport.getBranchIdentifiers() |
List<PlanIdentifier> |
ChainActionSupport.getSiblingBranchIdentifiers() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigureElasticImageConfiguration.hasPlanPermission(String permission,
PlanIdentifier plan) |
Modifier and Type | Method and Description |
---|---|
Map<PlanIdentifier,String> |
ConfigureBranches.getBranchesForAutoIntegration() |
Map<PlanIdentifier,String> |
EditChainBranchDetails.getBranchesForAutoIntegration() |
Modifier and Type | Class and Description |
---|---|
class |
DecoratedPlan |
protected static class |
DecoratedPlan.DecoratedBranch
Branches are top level branch plans.
|
Modifier and Type | Method and Description |
---|---|
PlanIdentifier |
DecoratedNavObject.getMaster()
The master plan iff the plan is a branched plan and it has a master.
|
PlanIdentifier |
DecoratedResult.getMaster() |
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.