| Modifier and Type | Interface and Description |
|---|---|
interface |
Buildable |
interface |
Job |
| Modifier and Type | Method and Description |
|---|---|
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveParentPlans(ImmutablePlan chain) |
| Modifier and Type | Method and Description |
|---|---|
List<LinkedJiraIssue> |
JiraIssueResultsManager.findJiraIssuesForBuild(ImmutablePlan plan)
Deprecated.
replaced by
#findJiraIssuesForPlanKey(String)} |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveParentPlans(ImmutablePlan chain) |
BuildTriggerCondition.ExecutionPreference |
BuildTriggerCondition.getExecutionPreference(ImmutablePlan plan,
Map<String,String> configuration)
Use to indicate preference for whether this plugin things the plan should execute.
|
| Modifier and Type | Method and Description |
|---|---|
BuildContextBuilder |
BuildContextBuilder.plan(ImmutablePlan buildPlan) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanConfigHelper.performPostActionsOnConfig(BuildConfiguration buildConfiguration,
ImmutablePlan plan)
Performs any miscellaneous actions required before saving the plan.
|
| Constructor and Description |
|---|
FailurePeriod(ImmutablePlan plan) |
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
BuildResultsFilter.getResultsForPlan(ImmutablePlan plan)
Obtain a collection of
ResultsSummary for the specified plan
The number returned will depend on the filter applied. |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<AgentAssignmentService.AgentAssignmentExecutable> |
AgentAssignmentServiceHelper.asExecutables(ImmutablePlan plan) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Chain
Mutable version of
ImmutableChain. |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildResultsIndexer.indexResultSummary(ResultsSummary summary,
ImmutablePlan plan)
Schedules indexing of result summary
|
void |
BuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
boolean includeTests) |
void |
BuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
Set<String> affectedJiraIssuesKeys,
boolean includeTests) |
| Modifier and Type | Method and Description |
|---|---|
Labelling |
LabelDao.findLabellingByBuild(Label label,
ImmutablePlan plan) |
Labelling |
LabelDao.findLabellingByBuild(String name,
String namespace,
ImmutablePlan plan) |
List<Labelling> |
LabelDao.findLabels(ImmutablePlan plan) |
List<String> |
LabelManager.getFavouritesForPlan(ImmutablePlan plan)
Retrieves a list of usernames which have the given plan set as a favourite.
|
Set<Label> |
LabelManager.getPlanLabels(ImmutablePlan plan)
Get labels defined for a plan
|
boolean |
LabelManager.isFavourite(ImmutablePlan plan,
com.atlassian.user.User user)
Determines if the build is a user's favourite
Note that its more efficient to use
PlanManager.filterFavouritedPlans(java.util.Collection, com.atlassian.user.User)
if you are performing this operation over a collection of Plans |
| Modifier and Type | Method and Description |
|---|---|
Set<NotificationRule> |
NotificationManager.getNotificationRules(ImmutablePlan plan)
Extract notification rules for a plan.
|
void |
NotificationRecipient.RequiresPlan.setPlan(ImmutablePlan plan) |
| Modifier and Type | Method and Description |
|---|---|
List<AuditLogEntry> |
AuditLogService.getAuditLogMessagesForPlan(ImmutablePlan plan)
Provide a list of all audit log messages written against a plan.
|
List<AuditLogEntry> |
AuditLogDao.getAuditLogMessagesForPlan(ImmutablePlan plan) |
List<AuditLogEntry> |
AuditLogService.getAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate)
Provide a list of all audit log messages written against a plan between input dates.
|
List<AuditLogEntry> |
AuditLogDao.getAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
void |
AuditLogService.removeAuditLogMessagesForPlan(ImmutablePlan plan)
Deletes all log messages for a given plan
|
| 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 |
PlanPermissionSkeleton
Deprecated.
since 4.2 use @{link PlanHelper.getPlanIdentifierForPermissionChecking}
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutablePlan> |
FilteringPlanManager.getRunnablePlans(Project project,
Class<T> planType)
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ImmutablePlan> |
PlanType.getClassType()
Deprecated.
since 4.3 Use
PlanType.getImmutableClassType() instead |
Class<? extends ImmutablePlan> |
PlanType.getImmutableClassType() |
static com.google.common.base.Predicate<? super ImmutablePlan> |
PlanClassHelper.isTopLevelPlan() |
| Modifier and Type | Method and Description |
|---|---|
int |
PlanDao.getBranchCount(ImmutablePlan plan)
Returns the number of branches that exist for the given plan
|
static boolean |
PlanClassHelper.isChain(ImmutablePlan plan) |
static boolean |
PlanClassHelper.isChainBranch(ImmutablePlan plan) |
boolean |
PlanFavouriteService.isFavourite(ImmutablePlan plan,
com.atlassian.user.User user)
Test if plan is set as favourite for a user.
|
static boolean |
PlanClassHelper.isJob(ImmutablePlan plan) |
static boolean |
PlanClassHelper.isTopLevelPlan(ImmutablePlan plan) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactDefinition |
ArtifactDefinitionManager.findArtifactDefinition(ImmutablePlan plan,
String label)
Get artifact definition associated with a plan of a given label
|
ArtifactDefinition |
ArtifactDefinitionManager.findArtifactDefinitionByChain(ImmutablePlan plan,
String label) |
List<ArtifactDefinition> |
ArtifactDefinitionManager.findArtifactDefinitionsByPlan(ImmutablePlan plan)
Get list of artifact definitions associated with a specific plan.
|
ArtifactDefinition |
ArtifactDefinitionDao.findByName(ImmutablePlan plan,
String name)
Find artifact definition of a given name associated with a producer job.
|
List<ArtifactDefinition> |
ArtifactDefinitionDao.findByProducer(ImmutablePlan plan)
Get list of artifact definitions associated with a plan
|
com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> |
ImmutableArtifactManager.findImmutableArtifactDefinitionsByProducer(ImmutablePlan plan)
Create list of
ImmutableArtifactDefinitions produced by plan |
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
ImmutableArtifactManager.findImmutableArtifactSubscriptionsByPlan(ImmutablePlan plan)
Create list of
ImmutableArtifactSubscriptions defined in plan |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ChainBranchManager.getBranchCount(ImmutablePlan plan)
Returns the number of branches the given plan has
|
long |
ChainBranchManager.getNextBranchKeyNumber(ImmutablePlan chain)
Retrieving suggested number for next branch key in given chain.
|
Map<Long,RepositoryDefinition> |
BranchIntegrationService.getRepositoryDefinitionMap(ImmutablePlan plan)
Get repository definition map for a given plan and if Branch Integration was configured merge it with
repository definition of branch selected in Integration Configuration
|
void |
ChainBranchManager.updateNextBranchKeyNumber(ImmutablePlan chain,
long number)
Set suggested number for next branch key in given chain
|
| 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 |
ImmutableTopLevelPlan
Represents a
TopLevelPlan that is immutable. |
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutablePlan> |
CachedPlanManager.getPlanById(long id,
Class<T> planType)
Returns a
ImmutablePlan by its database id and Class |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
Returns a
ImmutablePlan by its planKey and Class |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType)
Returns a
Plan by its planKey and if it's of the type Class. |
<T extends ImmutablePlan> |
CachedPlanManager.getPlans(Class<T> planType)
Returns all
Plan's filtered by Class. |
<T extends ImmutablePlan> |
ImmutablePlanCacheService.getPlans(Class<T> planType)
Returns all
Plan's filtered by Class. |
<T extends ImmutablePlan> |
CachedPlanManager.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter)
Returns all
Plan's filtered by Class. |
<T extends ImmutablePlan> |
ImmutablePlanCacheService.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter)
Returns all
Plan's filtered by Class. |
<T extends ImmutablePlan> |
CachedPlanManager.getPlansByProject(Project project,
Class<T> planType)
|
<T extends ImmutablePlan> |
CachedPlanManager.getPlansByProject(Project project,
Class<T> planType,
com.google.common.base.Predicate<? super T> filter) |
| Modifier and Type | Method and Description |
|---|---|
ImmutablePlan |
ImmutablePlan.getMaster()
Return the master plan if one exists.
|
ImmutablePlan |
CachedPlanManager.getPlanByKey(PlanKey planKey)
Returns a
ImmutablePlan by its planKey |
| Modifier and Type | Method and Description |
|---|---|
void |
CustomBuildDefinitionGenerator.populateBuildDefinition(ImmutablePlan plan,
Map<String,Object> configObjects,
BuildDefinition buildDefinition)
Implementors can add their custom objects to the configObjects map.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImmutablePlan> |
CacheDescription.getUsingPlans()
Collection of Plans that are currently configured to use this cache.
|
Collection<ImmutablePlan> |
CacheDescription.FileBased.getUsingPlans() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanRepositoryLinkDao.detachAllRepositoriesFromPlan(ImmutablePlan plan)
Remove all
PlanRepositoryLink defined for the . |
PlanRepositoryLink |
RepositoryDefinitionManager.getPlanRepositoryLink(ImmutablePlan plan,
long repositoryId)
Get persistent representation of a relation between Plan and repository
|
List<PlanRepositoryLink> |
RepositoryDefinitionManager.getPlanRepositoryLinks(ImmutablePlan plan)
Get persistent representation of relation between Plan and repositories
|
List<PlanRepositoryLink> |
PlanRepositoryLinkDao.getPlanRepositoryLinks(ImmutablePlan plan) |
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Returns mapping between
Job and TaskDefinition for tasks using repository by given repository id |
List<RepositoryDefinition> |
RepositoryDefinitionManager.getRepositoryDefinitionsForPlan(ImmutablePlan plan)
Get all repositories attached to a plan ordered by position.
|
boolean |
RepositoryConfigurationService.validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition)
Checks if provided name for repository is unique in the Plan
|
| Constructor and Description |
|---|
CacheDescription.FileBased(File cacheDir,
String description,
Collection<ImmutablePlan> plans) |
| Modifier and Type | Method and Description |
|---|---|
ImmutablePlan |
ImmutableResultsSummary.getImmutablePlan()
Gets the
ImmutablePlan that this result belongs directly belongs to |
ImmutablePlan |
ResultsSummary.getImmutablePlan()
Gets the
Plan that this result belongs directly belongs to |
ImmutablePlan |
ImmutableResultsSummary.getPlan()
Deprecated.
since 5.0 use
ImmutableResultsSummary.getImmutablePlan() |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultBetween(ImmutablePlan build,
int lowerBuildNumber,
int upperBuildNumber)
Finds the first failed build between the upper and lower build numbers inclusively.
|
List<LinkedJiraIssue> |
ResultsSummaryManager.findJiraIssuesForPlan(ImmutablePlan plan)
Deprecated.
replaced by
#findJiraIssuesForPlanKey(String)} |
ResultsSummary |
ResultsSummaryManager.findLastFailingBuildResultBefore(ImmutablePlan build,
int buildNumber)
Finds the last failing
ResultsSummary before buildNumber |
ResultsSummary |
ResultsSummaryManager.findLastSuccessfulBuildResultBefore(ImmutablePlan build,
int buildNumber)
Deprecated.
Use
ResultsSummaryManager.findLastSuccessfulBuildResultBefore(PlanResultKey) instead. Since v5.2. |
long |
ResultsSummaryManager.getAveragePlanExecutionDuration(ImmutablePlan plan,
int numberOfResults)
Get average duration from n last results summaries in finished state for a plan.
|
List<ResultsSummary> |
ResultsSummaryManager.getLastNResultsSummaries(ImmutablePlan plan,
int numberOfResults)
Provides a list of the latest N results summaries for the given plan, newest first.
|
List<ResultsSummary> |
ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int neighbouringSummariesMaxCount)
Returns all the
ResultsSummary objects that matches the passed build numbers |
List<ResultsSummary> |
BuildResultsSummaryDao.getNeighbouringSummaries(ImmutablePlan plan,
int currentBuildNumber,
int neighbouringSummariesMaxCount)
Returns build results "around" given build number
|
long |
ResultsSummaryManager.getNumberOfFinalizedResults(ImmutablePlan plan)
Get number of the
ResultsSummarys in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
long |
BuildResultsSummaryDao.getNumberOfFinalizedResults(ImmutablePlan plan)
Get number of the
ResultsSummarys in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan. |
void |
ResultsSummaryManager.removeArtifacts(ImmutablePlan plan,
int buildNumber)
Remove any artifacts stored for this plan result
|
void |
ResultsSummaryManager.removeBuildLogs(ImmutablePlan plan,
int buildNumber)
Remove any build logs stored for this plan result
|
void |
ResultsSummaryManager.removeBuildLogs(ImmutablePlan plan,
int buildNumber,
long maxIgnoredLogSize)
Remove build logs stored for this plan result that are greater than given size (in bytes).
|
| Modifier and Type | Method and Description |
|---|---|
List<TestCase> |
TestsManager.getLongestRunningTestCases(ImmutablePlan plan)
Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
|
List<TestCase> |
TestCaseDao.getLongestRunningTestCasesForPlan(ImmutablePlan plan)
Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
|
List<Pair<TestCase,Float>> |
TestsManager.getLongestToFixTestCases(ImmutablePlan plan)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<TestCase,Integer>> |
TestsManager.getMostFailingTestCases(ImmutablePlan plan)
Provide a list of the top 10 most failing test cases for a plan.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlanScheduler.removeTasksScheduledForPlan(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan |
void |
PlanScheduler.removeTasksScheduledForPlanAndBranches(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan and its Branches |
void |
PlanScheduler.scheduleTasksForPlan(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan |
void |
PlanScheduler.scheduleTasksForPlanAndBranches(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan and its Branches |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BambooPermissionManager.hasPlanPermission(org.acegisecurity.acls.Permission permission,
ImmutablePlan plan)
Verify plan access
|
| Modifier and Type | Method and Description |
|---|---|
static ImmutablePlan |
TaskContextHelper.getPlan(Map<String,Object> context) |
static ImmutablePlan |
TaskContextHelper.getRelatedPlan(Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TaskContextHelper.setPlan(Map<String,Object> context,
ImmutablePlan plan) |
static void |
TaskContextHelper.setRelatedPlan(Map<String,Object> context,
ImmutablePlan plan) |
| Modifier and Type | Method and Description |
|---|---|
List<ImmutablePlan> |
DependencyTreeBuilder.getDirectParents(ImmutablePlan plan)
Visits all the parent
Plan for the give build and returns its direct linage in topological order |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.plexus.util.dag.DAG |
DependencyTreeBuilder.getDirectDependencyGraph(ImmutablePlan plan)
Calculates the direct dependency graph for a particular build
|
List<ImmutablePlan> |
DependencyTreeBuilder.getDirectParents(ImmutablePlan plan)
Visits all the parent
Plan for the give build and returns its direct linage in topological order |
| Modifier and Type | Method and Description |
|---|---|
TriggerReason |
TriggerReason.getChildTriggerReason(BuildContext child,
ImmutablePlan plan)
If build A (triggered because of this TriggerReason) caused builds of plans X,Y,Z to trigger,
this method will be called to determine trigger reasons for plans X, Y, Z.
|
TriggerReason |
AbstractTriggerReason.getChildTriggerReason(BuildContext child,
ImmutablePlan plan) |
static DependencyBlockingStrategy |
DependencyBlockingStrategy.getStrategy(ImmutablePlan plan)
Get strategy for build
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> siblings)
Checks if build should be blocked, and executes any parent builds if required.
|
| Modifier and Type | Method and Description |
|---|---|
VariableContextBuilder |
VariableContextBuilder.addParentPlanVariablesIfRequired(ImmutablePlan plan) |
VariableContextBuilder |
VariableContextBuilder.addPlanVariables(ImmutablePlan plan) |
void |
CustomVariableContext.setPlan(ImmutablePlan plan)
Deprecated.
|
void |
CustomVariableContext.setPlan(ImmutablePlan plan,
Map<String,VariableDefinitionContext> variablesContextMap)
Deprecated.
|
void |
VariableValidationService.validateIdForPlanVariable(com.atlassian.struts.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan)
Validate if id identifies plan variable of a given plan
|
void |
VariableValidationService.validateIdForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan)
Deprecated.
since 5.1 use the method with
ValidationAware |
| Modifier and Type | Method and Description |
|---|---|
VariableSubstitutor |
VariableSubstitutorFactory.newSubstitutorForPlan(ImmutablePlan planIdentifier) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.