Modifier and Type | Method and Description |
---|---|
static PlanAwareBandanaContext |
PlanAwareBandanaContext.forPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
String |
TrackingConfigurationManagerImpl.getDefaultUser(ImmutablePlan plan) |
String |
TrackingConfigurationManager.getDefaultUser(ImmutablePlan plan) |
boolean |
TrackingConfigurationManagerImpl.isTrackingEnabled(ImmutablePlan plan) |
boolean |
TrackingConfigurationManager.isTrackingEnabled(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
protected ResultsSummary |
ResponsibilitiesUpdatedNotificationListener.calculateAndUpdateResultSummary(UserResponsibilityEvent event,
ImmutablePlan plan) |
protected List<NotificationRecipient> |
ResponsibilitiesUpdatedNotificationListener.calculateRecipients(UserResponsibilityEvent event,
ImmutablePlan plan,
ResultsSummary resultsSummary) |
protected Iterable<NotificationRule> |
ResponsibilitiesUpdatedNotificationListener.getNotificationRules(ImmutablePlan plan,
UserResponsibilityEvent event) |
void |
ResponsibleRecipient.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
List<ImmutablePlan> |
ViewResponsibilitiesForUser.getCurrentResponsiblePlans() |
Modifier and Type | Interface and Description |
---|---|
interface |
Buildable |
interface |
Job |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJob |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
BuildStatusHelper.getBuild() |
Modifier and Type | Method and Description |
---|---|
Set<ImmutablePlan> |
PlanDependencyManagerImpl.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManagerImpl.getEffectiveParentPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveParentPlans(ImmutablePlan chain) |
Modifier and Type | Method and Description |
---|---|
List<LinkedJiraIssue> |
LuceneBasedJiraIssueResultsManagerImpl.findJiraIssuesForBuild(ImmutablePlan plan)
Deprecated.
|
List<LinkedJiraIssue> |
JiraIssueResultsManager.findJiraIssuesForBuild(ImmutablePlan plan)
Deprecated.
|
Set<ImmutablePlan> |
PlanDependencyManagerImpl.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManager.getEffectiveChildPlans(ImmutablePlan chain) |
Set<ImmutablePlan> |
PlanDependencyManagerImpl.getEffectiveParentPlans(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.
|
protected int |
ViewNextBuildResults.getNextBuildNumber(ImmutablePlan plan,
int currentBuildNumber)
Return the next build to the given currentBuildNumber.
|
Constructor and Description |
---|
BuildStatusHelper(ImmutablePlan plan,
ResultsSummary currentBuildResult,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
ArtifactHandlerForPlanConfigurator.isApplicableTo(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConcurrentBuildsPlanConfigurationPlugin.isApplicableTo(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
BuildContextBuilder |
BuildContextBuilderImpl.plan(ImmutablePlan buildPlan) |
BuildContextBuilder |
BuildContextBuilder.plan(ImmutablePlan buildPlan) |
Modifier and Type | Method and Description |
---|---|
void |
WebRepositoryConfigHelper.performPostActionsOnConfig(BuildConfiguration buildConfiguration,
ImmutablePlan plan) |
void |
BuildTriggerConditionConfigHelper.performPostActionsOnConfig(BuildConfiguration buildConfiguration,
ImmutablePlan plan) |
void |
PlanConfigHelper.performPostActionsOnConfig(BuildConfiguration buildConfiguration,
ImmutablePlan plan)
Performs any miscellaneous actions required before saving the plan.
|
Modifier and Type | Method and Description |
---|---|
protected long |
BuildExpiryBeanImpl.expireBuildPlan(BuildExpiryConfig config,
ImmutablePlan plan,
ResultsSummary lastResultsSummary) |
Modifier and Type | Method and Description |
---|---|
boolean |
BuildExpiryPerPlanPlugin.isApplicableTo(ImmutablePlan plan) |
Constructor and Description |
---|
FailurePeriod(ImmutablePlan plan) |
StatisticsCollectorImpl(ImmutablePlan plan,
List<? extends ResultsSummary> results)
Class which takes in a
Collection of ResultStatisticsProvider objects
and produces some statistics about it. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractBuildStatusUpdater.send(PlanResultEvent event,
ImmutablePlan plan,
ImmutableResultsSummary resultsSummary) |
Modifier and Type | Method and Description |
---|---|
List<ResultsSummary> |
TimeAgoBuildResultsFilter.getResultsForPlan(ImmutablePlan plan) |
List<ResultsSummary> |
AllBuildResultsFilter.getResultsForPlan(ImmutablePlan plan) |
List<ResultsSummary> |
Latest25FiveBuildResultsFilter.getResultsForPlan(ImmutablePlan plan) |
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 | Method and Description |
---|---|
BuildTriggerCondition.ExecutionPreference |
PlansGreenCondition.getExecutionPreference(ImmutablePlan plan,
Map<String,String> configuration) |
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 |
---|---|
BranchStatusLinkInfo |
BranchStatusServiceImpl.getBranchStatusLinkInfo(ImmutablePlan plan,
String navigationSource) |
BranchStatusLinkInfo |
BranchStatusService.getBranchStatusLinkInfo(ImmutablePlan plan,
String navigationSource)
Provides information about branch status link for the given plan - whether the link should or should not be
displayed and what is the direct URL for this plan's VCS branch.
|
boolean |
BranchStatusServiceImpl.shouldDisplayBranchStatusLink(ImmutablePlan plan) |
boolean |
BranchStatusService.shouldDisplayBranchStatusLink(ImmutablePlan plan)
Whether a link to branch status page should be displayed for the given plan.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<ImmutablePlan> |
CloverPluginHelper.isCloverEnabledForPlan |
Modifier and Type | Method and Description |
---|---|
List<ImmutablePlan> |
ViewAgentPlanMatrix.getSelectedPlans() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ImmutableJob> |
ViewAgentPlanMatrix.getBuildablesForPlan(ImmutablePlan plan) |
boolean |
ViewAgentPlanMatrixWizard.isApplicable(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
protected void |
PlanConfigExportServiceImpl.appendMiscellaneousPlugins(ImmutablePlan immutablePlan,
List<com.atlassian.bamboo.configuration.external.ExportablePluginModule> exportableModules,
Map<String,Object> data) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
PermissionExporterImpl.exportPermissions(ImmutablePlan plan) |
Map<String,Object> |
PermissionExporter.exportPermissions(ImmutablePlan plan)
Exports plan permissions to a YAML-friendly format.
|
Modifier and Type | Method and Description |
---|---|
static <T extends ImmutablePlan> |
JobImportHelper.findPlanByKey(List<T> jobs,
com.atlassian.bamboo.specs.api.model.BambooKeyProperties jobReference) |
static <T extends ImmutablePlan> |
JobImportHelper.findPlanByOidOrKey(List<T> jobs,
com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties jobReference) |
Modifier and Type | Method and Description |
---|---|
boolean |
PlanRepositoryValidator.canChangeDefaultRepository(ImmutablePlan plan)
Check if default plan repository can be replaced by another repository.
|
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
ExecuteManualDeployment.getLinkedPlan() |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
ViewDeploymentProjects.getRelatedPlan() |
ImmutablePlan |
ConfigureDeploymentProject.getRelatedPlan() |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
CreateDeploymentVersion.getLinkedPlan() |
Modifier and Type | Method and Description |
---|---|
Map<String,VariableDefinitionContext> |
DeploymentVersionServiceImpl.getPossibleVersionVariables(ImmutablePlan linkedPlan,
boolean includeUndeterminable) |
Map<String,VariableDefinitionContext> |
DeploymentVersionService.getPossibleVersionVariables(ImmutablePlan linkedPlan,
boolean includeUndeterminable)
Provides a map of variables which might show up on a version.
|
Map<String,VariableDefinitionContext> |
DeploymentVersionServiceImpl.getPossibleVersionVariables(ImmutablePlan linkedPlan,
PlanResultKey planResultKey,
boolean includeUndeterminable) |
Map<String,VariableDefinitionContext> |
DeploymentVersionService.getPossibleVersionVariables(ImmutablePlan linkedPlan,
PlanResultKey planResultKey,
boolean includeUndeterminable)
Provides a map of variables which might show up on a version.
|
MutableDeploymentVersion |
VersionNamingServiceImpl.nameAndCreateVersion(InternalDeploymentProject deploymentProject,
ImmutablePlan linkedPlan,
MutableDeploymentVersion deploymentVersion,
String versionName,
String nextVersionName,
Map<String,VariableDefinitionContext> variables) |
MutableDeploymentVersion |
VersionNamingService.nameAndCreateVersion(InternalDeploymentProject deploymentProject,
ImmutablePlan linkedPlan,
MutableDeploymentVersion version,
String versionName,
String nextVersionName,
Map<String,VariableDefinitionContext> variables)
Takes a new deployment version, if new version name supplied, uses that, otherwise generates unique name based on version naming scheme.
|
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 |
---|---|
org.apache.lucene.document.Document |
BuildResultsSummaryDocumentFactory.getDocument(ResultsSummary summary,
ImmutablePlan plan) |
void |
DefaultBuildResultsIndexer.indexResultSummary(ResultsSummary summary,
ImmutablePlan plan) |
void |
DefaultBuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
boolean includeTests) |
void |
DefaultBuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
Set<String> affectedJiraIssuesKeys,
boolean includeTests) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
PlanSummaryObject.getPlan() |
Constructor and Description |
---|
PlanSummaryObject(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
Labelling |
LabelHibernateDao.findLabellingByBuild(Label label,
ImmutablePlan plan) |
Labelling |
LabelDao.findLabellingByBuild(Label label,
ImmutablePlan plan) |
Labelling |
LabelHibernateDao.findLabellingByBuild(String name,
String namespace,
ImmutablePlan plan) |
Labelling |
LabelDao.findLabellingByBuild(String name,
String namespace,
ImmutablePlan plan) |
List<Labelling> |
LabelHibernateDao.findLabels(ImmutablePlan plan) |
List<Labelling> |
LabelDao.findLabels(ImmutablePlan plan) |
List<String> |
LabelManagerImpl.getFavouritesForPlan(ImmutablePlan plan) |
List<String> |
LabelManager.getFavouritesForPlan(ImmutablePlan plan)
Retrieves a list of usernames which have the given plan set as a favourite.
|
Set<Label> |
LabelManagerImpl.getPlanLabels(ImmutablePlan plan) |
Set<Label> |
LabelManager.getPlanLabels(ImmutablePlan plan)
Get labels defined for a plan
|
boolean |
LabelManagerImpl.isFavourite(ImmutablePlan plan,
com.atlassian.user.User user) |
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 Plan s |
protected int |
LabelManagerImpl.removeLabel(String labelName,
String namespace,
Project project,
ImmutablePlan plan,
PlanResultKey planResultKey,
String userName) |
Modifier and Type | Method and Description |
---|---|
protected ImmutablePlan |
AbstractNotificationEventListener.getPlan(T event)
Try to retrieve plan using data in the event.
|
Modifier and Type | Method and Description |
---|---|
Set<NotificationRule> |
NotificationManagerImpl.getNotificationRules(ImmutablePlan plan) |
Set<NotificationRule> |
NotificationManager.getNotificationRules(ImmutablePlan plan)
Extract notification rules for a plan.
|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.getNotificationRules(ImmutablePlan plan,
T event)
Return notification rules effective for a given plan and event.
|
abstract void |
AbstractNotificationEventListener.handleEvent(T event,
ImmutablePlan plan)
Notification event listeners must implement this method to handle incoming events.
|
void |
NotificationRecipient.RequiresPlan.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
CommentNotificationListener.handleEvent(BuildCommentedEvent event,
ImmutablePlan plan) |
Modifier and Type | Field and Description |
---|---|
protected ImmutablePlan |
AbstractCompletedNotification.plan |
Modifier and Type | Method and Description |
---|---|
void |
BuildCompletedNotificationListener.handleEvent(BuildStateResultEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
BuildErrorNotificationListener.handleEvent(BambooErrorEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
BuildHungNotificationListener.handleEvent(BuildHungEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
BuildMissingCapableAgentNotificationListener.handleEvent(BuildQueuedEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
BuildQueueTimeoutNotificationListener.handleEvent(BuildQueueTimeoutEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
AfterXFailedNotificationListener.handleEvent(ChainCompletedEvent event,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
CommitterRecipient.setPlan(ImmutablePlan plan) |
void |
WatcherRecipient.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
static org.hibernate.type.Type |
BambooHibernate.entity(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
long |
AuditLogHibernateDao.countAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
long |
AuditLogDao.countAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate)
Retrieve the number of audit log messages recorded against the specified plan between the
startDate and endDate (inclusive).
|
List<AuditLogEntry> |
AuditLogHibernateDao.getAuditLogMessagesForPlan(ImmutablePlan plan) |
List<AuditLogEntry> |
DefaultAuditLogService.getAuditLogMessagesForPlan(ImmutablePlan plan) |
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> |
AuditLogHibernateDao.getAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
List<AuditLogEntry> |
DefaultAuditLogService.getAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
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) |
boolean |
DefaultAuditLogService.hasAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
boolean |
AuditLogService.hasAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate)
Determine whether any log messages have been recorded against the specified plan between the
startDate and endDate (inclusive).
|
void |
DefaultAuditLogService.removeAuditLogMessagesForPlan(ImmutablePlan plan) |
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 |
AbstractChain |
class |
AbstractPlan |
Modifier and Type | Method and Description |
---|---|
<T extends ImmutablePlan> |
FilteringPlanManager.getPlans(Class<T> planType)
|
<T extends ImmutablePlan> |
FilteringPlanManager.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter)
Deprecated.
since 5.11 this method warms the whole cache. Use it very carefully. Avoid it in core Bamboo.
|
<T extends ImmutablePlan> |
FilteringPlanManager.getPlansByProject(Project project,
Class<T> planType)
|
<T extends ImmutablePlan> |
FilteringPlanManager.getPlansByProject(Project project,
Class<T> planType,
com.google.common.base.Predicate<? super T> filter) |
<T extends ImmutablePlan> |
FilteringPlanManager.getRunnablePlans(Project project,
Class<T> planType)
|
static <T extends ImmutablePlan> |
PlanPredicates.isBranchOf(PlanIdentifier plan) |
static <T extends ImmutablePlan> |
PlanPredicates.isSuspendedFromBuilding()
Deprecated.
since 5.10, use method reference to
PlanIdentifier.isSuspendedFromBuilding() |
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(CachedPlanManager cachedPlanManager,
PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(PlanKey planKey,
Class<T> planClass) |
Modifier and Type | Method and Description |
---|---|
static ImmutablePlan |
PlanHelper.getMasterPlan(ImmutablePlan plan)
Get master plan if plan has master or passed plan otherwise.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<ImmutablePlan,String> |
PlanFunctions.getBuildName()
Deprecated.
since 5.10, use method reference to
PlanIdentifier.getBuildName() |
Class<? extends ImmutablePlan> |
PlanType.getClassType()
Deprecated.
since 4.3 Use
PlanType.getImmutableClassType() instead |
Class<? extends ImmutablePlan> |
PlanType.getImmutableClassType() |
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.hasEqualProjectKey(Project project) |
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.isCloverEnabled()
Deprecated.
since 5.10, use method reference to
PlanPredicates.isCloverEnabled(ImmutablePlan) |
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.isFavourite(LabelManager labelManager,
com.atlassian.user.User user)
Get a predicate that returns true for Plans that are marked as favourite for a given user.
|
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.isMyBranch(BambooUserManager bambooUserManager,
com.atlassian.user.User user)
Get a predicate that returns true for branches that "belong" to a user.
|
static com.google.common.base.Predicate<? super ImmutablePlan> |
PlanClassHelper.isTopLevelPlan() |
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.planHasMaster()
Deprecated.
since 5.10, use method reference to
hasMaster() |
static com.google.common.base.Predicate<ImmutablePlan> |
PlanPredicates.planIsMaster()
Deprecated.
since 5.10, use method reference to
PlanPredicates.planIsMaster(ImmutablePlan) |
static com.google.common.base.Function<PlanKey,io.atlassian.fugue.Option<ImmutablePlan>> |
PlanFunctions.toImmutablePlan(CachedPlanManager cachedPlanManager)
Returns a function that Fetches an immutable plan corresponding to the supplied plan key.
|
static Predicate<ImmutablePlan> |
PlanPredicates.withEqualProjectKey(Project project) |
Modifier and Type | Method and Description |
---|---|
int |
PlanHibernateDao.getBranchCount(ImmutablePlan plan) |
int |
PlanDao.getBranchCount(ImmutablePlan plan)
Returns the number of branches that exist for the given plan
|
static <T> T |
PlanHelper.getConfigObject(ImmutablePlan plan,
String key,
Class<T> clazz) |
static String |
PlanHelper.getCurrentStatus(ImmutablePlan plan) |
static PlanRepositoryDefinition |
PlanHelper.getDefaultPlanRepositoryDefinition(ImmutablePlan plan) |
static Repository |
PlanHelper.getDefaultRepository(ImmutablePlan plan)
Deprecated.
since 5.14 without replacement
|
static RepositoryDefinition |
PlanHelper.getDefaultRepositoryDefinition(ImmutablePlan plan)
Deprecated.
since 5.14 without replacement
|
static ImmutablePlan |
PlanHelper.getMasterPlan(ImmutablePlan plan)
Get master plan if plan has master or passed plan otherwise.
|
static PlanKey |
PlanHelper.getMasterPlanKey(ImmutablePlan plan)
Get planKey of master plan if plan has master or planKey of passed plan otherwise.
|
static long |
PlanHelper.getPermissionPlanId(ImmutablePlan plan) |
static PlanRepositoryDefinition |
PlanHelper.getPlanRepositoryDefinitionById(ImmutablePlan plan,
long id) |
static LinkedHashMap<Long,PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitionMap(ImmutablePlan plan) |
static List<PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitions(ImmutablePlan plan) |
static List<Repository> |
PlanHelper.getRepositories(ImmutablePlan plan)
Deprecated.
since 5.14 without replacement
|
static RepositoryDefinition |
PlanHelper.getRepositoryDefinitionForPlanById(ImmutablePlan plan,
long id)
Deprecated.
since 5.14 without replacement
|
static LinkedHashMap<Long,RepositoryDefinition> |
PlanHelper.getRepositoryDefinitionMap(ImmutablePlan plan)
Deprecated.
since 5.14 without replacement
|
static List<RepositoryDefinition> |
PlanHelper.getRepositoryDefinitions(ImmutablePlan plan)
Deprecated.
since 5.14 without replacement
|
static List<RepositoryDefinition> |
PlanHelper.getRepositoryDefinitionsByType(ImmutablePlan plan,
String pluginKey)
Deprecated.
since 5.14 without replacement
|
static boolean |
PlanClassHelper.isChain(ImmutablePlan plan) |
static boolean |
PlanClassHelper.isChainBranch(ImmutablePlan plan) |
static boolean |
PlanPredicates.isCloverEnabled(ImmutablePlan plan)
Check if plan is Clover enabled.
|
boolean |
PlanFavouriteServiceImpl.isFavourite(ImmutablePlan plan,
com.atlassian.user.User user) |
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) |
static boolean |
PlanPredicates.planIsMaster(ImmutablePlan plan) |
Constructor and Description |
---|
ResultsSummaryJsonDecorator(com.opensymphony.xwork2.TextProvider textProvider,
ResultsSummary resultsSummary,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
ArtifactDefinition |
ArtifactDefinitionManagerImpl.findArtifactDefinition(ImmutablePlan plan,
String label) |
ArtifactDefinition |
ArtifactDefinitionManager.findArtifactDefinition(ImmutablePlan plan,
String label)
Get artifact definition associated with a plan of a given label
|
ArtifactDefinition |
ArtifactDefinitionManagerImpl.findArtifactDefinitionByChain(ImmutablePlan plan,
String label) |
ArtifactDefinition |
ArtifactDefinitionManager.findArtifactDefinitionByChain(ImmutablePlan plan,
String label) |
List<ArtifactDefinition> |
ArtifactDefinitionManagerImpl.findArtifactDefinitionsByPlan(ImmutablePlan plan) |
List<ArtifactDefinition> |
ArtifactDefinitionManager.findArtifactDefinitionsByPlan(ImmutablePlan plan)
Get list of artifact definitions associated with a specific plan.
|
ArtifactDefinition |
ArtifactDefinitionHibernateDao.findByName(ImmutablePlan plan,
String name) |
ArtifactDefinition |
ArtifactDefinitionDao.findByName(ImmutablePlan plan,
String name)
Find artifact definition of a given name associated with a producer job.
|
List<ArtifactDefinition> |
ArtifactDefinitionHibernateDao.findByProducer(ImmutablePlan plan) |
List<ArtifactDefinition> |
ArtifactDefinitionDao.findByProducer(ImmutablePlan plan)
Get list of artifact definitions associated with a plan
|
com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> |
ImmutableArtifactManagerImpl.findImmutableArtifactDefinitionsByProducer(ImmutablePlan plan) |
com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> |
ImmutableArtifactManager.findImmutableArtifactDefinitionsByProducer(ImmutablePlan plan)
Create list of
ImmutableArtifactDefinition s produced by plan |
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
ImmutableArtifactManagerImpl.findImmutableArtifactSubscriptionsByPlan(ImmutablePlan plan) |
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
ImmutableArtifactManager.findImmutableArtifactSubscriptionsByPlan(ImmutablePlan plan)
Create list of
ImmutableArtifactSubscription s defined in plan |
Modifier and Type | Interface and Description |
---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainBranchImpl |
Modifier and Type | Method and Description |
---|---|
int |
ChainBranchManagerImpl.getBranchCount(ImmutablePlan plan) |
int |
ChainBranchManager.getBranchCount(ImmutablePlan plan)
Returns the number of branches the given plan has
|
static String |
ChainBranchUtils.getChainBranchName(CustomVariableContext customVariableContext,
ImmutablePlan plan) |
static String |
ChainBranchUtils.getChainBranchNameWithoutContextChange(CustomVariableContext customVariableContext,
ImmutablePlan plan) |
PlanRepositoryDefinition |
BranchIntegrationServiceImpl.getIntegrationRepository(ImmutablePlan plan) |
VcsRepositoryData |
BranchIntegrationService.getIntegrationRepository(ImmutablePlan plan)
Get repository configured as merge to / merge from in branch configuration.
|
long |
ChainBranchManagerImpl.getNextBranchKeyNumber(ImmutablePlan chain) |
long |
ChainBranchManager.getNextBranchKeyNumber(ImmutablePlan chain)
Retrieving suggested number for next branch key in given chain.
|
Map<Long,PlanRepositoryDefinition> |
BranchIntegrationServiceImpl.getPlanRepositoryDefinitionMap(ImmutablePlan plan) |
Map<Long,PlanRepositoryDefinition> |
BranchIntegrationService.getPlanRepositoryDefinitionMap(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
|
Map<Long,RepositoryDefinition> |
BranchIntegrationServiceImpl.getRepositoryDefinitionMap(ImmutablePlan plan) |
Map<Long,RepositoryDefinition> |
BranchIntegrationService.getRepositoryDefinitionMap(ImmutablePlan plan)
Deprecated.
|
static String |
ChainBranchUtils.getSubstitutedVcsBranchName(CustomVariableContext customVariableContext,
ImmutablePlan plan) |
static String |
ChainBranchUtils.getSubstitutedVcsBranchNameWithoutContextChange(CustomVariableContext customVariableContext,
ImmutablePlan plan) |
void |
ChainBranchManagerImpl.updateNextBranchKeyNumber(ImmutablePlan chain,
long number) |
void |
ChainBranchManager.updateNextBranchKeyNumber(ImmutablePlan chain,
long number)
Set suggested number for next branch key in given chain
|
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 |
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 ImmutablePlan> |
CachedPlanManagerImpl.getPlanById(long id,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanById(long id,
Class<T> planType)
Returns a
ImmutablePlan by its database id and Class |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKey(PlanKey planKey,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
Returns a
ImmutablePlan by its planKey and Class |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType)
|
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlans(Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter) |
<T extends ImmutablePlan> |
ImmutablePlanCacheServiceImpl.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter) |
<T extends ImmutablePlan> |
ImmutablePlanCacheService.getPlans(Class<T> planType,
com.google.common.base.Predicate<? super T> filter)
|
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlansByProject(Project project,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlansByProject(Project project,
Class<T> planType,
com.google.common.base.Predicate<? super T> filter) |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getRunnablePlans(Project project,
Class<T> planType) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
ImmutablePlan.getMaster()
Return the master plan if one exists.
|
ImmutablePlan |
CachedPlanManagerImpl.getPlanByKey(PlanKey planKey) |
ImmutablePlan |
CachedPlanManager.getPlanByKey(PlanKey planKey)
Returns a
ImmutablePlan by its planKey |
Modifier and Type | Method and Description |
---|---|
Stream<ImmutablePlan> |
ImmutablePlanCacheServiceImpl.getPlans(Predicate<ImmutablePlan> predicate) |
Stream<ImmutablePlan> |
ImmutablePlanCacheService.getPlans(Predicate<ImmutablePlan> predicate)
Returns a stream of plans (chains+jobs) matching the supplied predicate.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractImmutablePlan.compareTo(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
Stream<ImmutablePlan> |
ImmutablePlanCacheServiceImpl.getPlans(Predicate<ImmutablePlan> predicate) |
Stream<ImmutablePlan> |
ImmutablePlanCacheService.getPlans(Predicate<ImmutablePlan> predicate)
Returns a stream of plans (chains+jobs) matching the supplied predicate.
|
Constructor and Description |
---|
AbstractImmutablePlan(ImmutablePlan plan,
BuildLoggerManager buildLoggerManager,
LabelManager labelManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinition buildDefinition,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
PlanConfigurationUiPlugin.isApplicableTo(ImmutablePlan plan)
Checks if the plugin is applicable to a plan.
|
Modifier and Type | Method and Description |
---|---|
static List<VariableDefinition> |
EffectivePlanPropertiesHelper.createEffectiveVariableDefinitions(ImmutablePlan plan,
List<VariableDefinition> variableDefinitions) |
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 |
---|---|
boolean |
PlanConfigurationPluginUIHelperImpl.isPluginApplicableTo(BuildConfigurationAwarePlugin module,
ImmutablePlan immutablePlan) |
boolean |
PlanConfigurationUIPluginHelper.isPluginApplicableTo(BuildConfigurationAwarePlugin module,
ImmutablePlan immutablePlan)
Return true if a plugin module should be displayed on given plan''s "miscellaneous" page.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BitbucketBuildStatusUpdater.send(PlanResultEvent event,
ImmutablePlan plan,
ImmutableResultsSummary resultsSummary) |
Modifier and Type | Field and Description |
---|---|
static Function<ImmutablePlan,Iterable<GitRepository>> |
GitRepositoryFacade.GIT_REPOSITORIES_OF_PLAN
Retrieves git repositories of one plan
|
Modifier and Type | Field and Description |
---|---|
static Function<ImmutablePlan,Iterable<HgRepository>> |
HgRepositoryFacade.HG_REPOSITORIES_OF_PLAN
Deprecated.
since 5.10 use
HgRepositoryUtils#getHgRepositoriesOfPlan() |
Modifier and Type | Method and Description |
---|---|
List<ImmutablePlan> |
HgRepository.getOtherPlansSharingCache(Plan current) |
Modifier and Type | Method and Description |
---|---|
static List<HgRepository> |
HgRepositoryUtils.getHgRepositoriesOfPlan(ImmutablePlan plan)
Retrieves Hg repositories of one plan
|
Modifier and Type | Method and Description |
---|---|
static AutomaticDependencyManagementConfig |
AutomaticDependencyManagementPlugin.getConfig(ImmutablePlan plan) |
boolean |
AutomaticDependencyManagementPlugin.isApplicableTo(ImmutablePlan plan) |
void |
AutomaticDependencyManagementPlugin.populateBuildDefinition(ImmutablePlan plan,
Map<String,Object> configObjects,
BuildDefinition buildDefinition)
For Jobs it adds AutomaticDependencyManagementConfig object from a parent plan
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends ImmutablePlan> |
RestHelper.getPlanType(javax.ws.rs.core.UriInfo uriInfo) |
Constructor and Description |
---|
RestPlan(ImmutablePlan plan,
boolean favourite,
javax.ws.rs.core.UriInfo uriInfo,
PlanRestService planRestService,
com.atlassian.user.User currentRestUser) |
Constructor and Description |
---|
RestPlanBranch(ImmutablePlan planBranch,
boolean favourite,
javax.ws.rs.core.UriInfo uriInfo,
RestBranchLatestActive latestActive,
PlanRestService planRestService,
com.atlassian.user.User currentRestUser) |
Modifier and Type | Method and Description |
---|---|
RestDedicatedAgentBuilder |
RestDedicatedAgentBuilder.withPlan(ImmutablePlan plan) |
Constructor and Description |
---|
AgentAssignmentSearchResult(AgentAssignment.ExecutorType executorType,
long executorId,
ImmutablePlan plan) |
AgentAssignmentSearchResult(ImmutablePlan plan) |
PlanSearchResult(com.atlassian.sal.api.message.I18nResolver i18nResolver,
CustomVariableContext customVariableContext,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Predicate<ImmutablePlan> |
SearchResource.filterPlans(String searchTerm,
boolean fuzzySearch) |
Modifier and Type | Method and Description |
---|---|
<T extends ImmutablePlan> |
PlanRestServiceImpl.getPlans(Class<T> planType,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
<T extends ImmutablePlan> |
PlanRestService.getPlans(Class<T> planType,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of plans of specified type.
|
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
PlanRestServiceImpl.getBranchByName(ImmutablePlan plan,
String branchName) |
ImmutablePlan |
PlanRestService.getBranchByName(ImmutablePlan plan,
String branchName)
Get branch of a given plan by name.
|
ImmutablePlan |
PlanRestServiceImpl.getPlanByKey(PlanKey planKey) |
ImmutablePlan |
PlanRestService.getPlanByKey(PlanKey planKey)
Returns a
Plan if plan exists and is visible for calling user |
ImmutablePlan |
PlanRestServiceImpl.getPlanByKeyUnchecked(PlanKey planKey) |
ImmutablePlan |
PlanRestService.getPlanByKeyUnchecked(PlanKey planKey)
Returns a
Plan if plan exists. |
Modifier and Type | Method and Description |
---|---|
List<? extends ImmutablePlan> |
PlanRestServiceImpl.getPlans(javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
List<? extends ImmutablePlan> |
PlanRestService.getPlans(javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of plans.
|
List<? extends ImmutablePlan> |
PlanRestServiceImpl.getPlansByProject(Project project,
javax.ws.rs.core.UriInfo uriInfo) |
List<? extends ImmutablePlan> |
PlanRestService.getPlansByProject(Project project,
javax.ws.rs.core.UriInfo uriInfo)
Get a list of plans that belong to a project.
|
List<? extends ImmutablePlan> |
PlanRestServiceImpl.getPlansByProject(Project project,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
List<? extends ImmutablePlan> |
PlanRestService.getPlansByProject(Project project,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of plans that belong to a project.
|
List<? extends ImmutablePlan> |
PlanRestServiceImpl.getRunnablePlans(Project project,
javax.ws.rs.core.UriInfo uriInfo) |
List<? extends ImmutablePlan> |
PlanRestService.getRunnablePlans(Project project,
javax.ws.rs.core.UriInfo uriInfo)
Get a list of plans that can be run currently logged in user.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResultServiceImpl.addBuildSearchCriteria(ImmutablePlan plan,
javax.ws.rs.core.UriInfo uriInfo,
ResultsSummaryCriteriaBuilder criteriaBuilder) |
RestBranchLatestActive |
PlanRestServiceImpl.createLatestActiveBranchResult(ImmutablePlan branch) |
RestBranchLatestActive |
PlanRestService.createLatestActiveBranchResult(ImmutablePlan branch) |
ImmutablePlan |
PlanRestServiceImpl.getBranchByName(ImmutablePlan plan,
String branchName) |
ImmutablePlan |
PlanRestService.getBranchByName(ImmutablePlan plan,
String branchName)
Get branch of a given plan by name.
|
List<ImmutableChainBranch> |
PlanRestServiceImpl.getBranchesForChain(ImmutablePlan plan) |
List<ImmutableChainBranch> |
PlanRestService.getBranchesForChain(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
RestPlanBranchList |
PlanRestServiceImpl.createPaginatedBranchResponse(List<? extends ImmutablePlan> branches,
com.atlassian.user.User user,
javax.ws.rs.core.UriInfo uriInfo,
boolean allBranches) |
RestPlanBranchList |
PlanRestService.createPaginatedBranchResponse(List<? extends ImmutablePlan> branches,
com.atlassian.user.User user,
javax.ws.rs.core.UriInfo uriInfo,
boolean allBranches) |
RestPlans |
PlanRestServiceImpl.createPaginatedPlanResponse(List<? extends ImmutablePlan> plans,
com.atlassian.user.User user,
javax.ws.rs.core.UriInfo uriInfo) |
RestPlans |
PlanRestService.createPaginatedPlanResponse(List<? extends ImmutablePlan> plans,
com.atlassian.user.User user,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
BitbucketServerBuildStatusUpdater.send(PlanResultEvent event,
ImmutablePlan plan,
ImmutableResultsSummary resultsSummary) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Project> |
ProjectPredicates.hasPlansThat(CachedPlanManager cachedPlanManager,
com.google.common.base.Predicate<? super ImmutablePlan> planFilter)
Deprecated.
|
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 |
PlanRepositoryLinkHibernateDao.detachAllRepositoriesFromPlan(ImmutablePlan plan) |
void |
PlanRepositoryLinkDao.detachAllRepositoriesFromPlan(ImmutablePlan plan)
Remove all
PlanRepositoryLink defined for the . |
PlanRepositoryLink |
RepositoryDefinitionManagerImpl.getPlanRepositoryLink(ImmutablePlan plan,
long repositoryId) |
PlanRepositoryLink |
RepositoryDefinitionManager.getPlanRepositoryLink(ImmutablePlan plan,
long repositoryId)
Get persistent representation of a relation between Plan and repository
|
PlanRepositoryLink |
RepositoryDefinitionManagerImpl.getPlanRepositoryLinkByName(ImmutablePlan plan,
String repositoryName) |
PlanRepositoryLink |
RepositoryDefinitionManager.getPlanRepositoryLinkByName(ImmutablePlan plan,
String repositoryName)
Get persistent representation of a relation between Plan and repository
|
List<PlanRepositoryLink> |
PlanRepositoryLinkHibernateDao.getPlanRepositoryLinks(ImmutablePlan plan) |
List<PlanRepositoryLink> |
RepositoryDefinitionManagerImpl.getPlanRepositoryLinks(ImmutablePlan plan) |
List<PlanRepositoryLink> |
PlanRepositoryLinkDao.getPlanRepositoryLinks(ImmutablePlan plan) |
List<PlanRepositoryLink> |
RepositoryDefinitionManager.getPlanRepositoryLinks(ImmutablePlan plan)
Get persistent representation of relation between Plan and repositories
|
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationServiceImpl.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId) |
Map<ImmutableJob,List<TaskDefinition>> |
RepositoryConfigurationService.getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Deprecated.
Returns mapping between
Job and TaskDefinition for tasks using repository by given repository id |
List<RepositoryDefinition> |
RepositoryDefinitionManagerImpl.getRepositoryDefinitionsForPlan(ImmutablePlan plan) |
List<RepositoryDefinition> |
RepositoryDefinitionManager.getRepositoryDefinitionsForPlan(ImmutablePlan plan)
Deprecated.
since 5.14
|
boolean |
RepositoryConfigurationServiceImpl.validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition) |
boolean |
RepositoryConfigurationService.validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition)
Deprecated.
Checks if provided name for repository is unique in the Plan
|
Constructor and Description |
---|
FileBased(File cacheDir,
String description,
Collection<ImmutablePlan> plans) |
Modifier and Type | Method and Description |
---|---|
<T extends ImmutablePlan> |
ResultsSummaryDiscriminatorRegistry.getDiscriminatorsForPlanType(Class<T> planType) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
AbstractResultsSummary.getImmutablePlan() |
ImmutablePlan |
ResultsSummary.getImmutablePlan()
Gets the
Plan that this result belongs directly belongs to |
ImmutablePlan |
ImmutableResultsSummary.getImmutablePlan()
Gets the
ImmutablePlan that this result belongs directly belongs to |
ImmutablePlan |
ImmutableResultsSummary.getPlan()
Deprecated.
since 5.0 use
ImmutableResultsSummary.getImmutablePlan() |
Modifier and Type | Method and Description |
---|---|
ResultsSummary |
BuildResultsSummaryManagerImpl.findFirstFailedBuildResultBetween(ImmutablePlan build,
int lowerBuildNumber,
int upperBuildNumber) |
ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultBetween(ImmutablePlan build,
int lowerBuildNumber,
int upperBuildNumber)
Finds the first failed build between the upper and lower build numbers inclusively.
|
ResultsSummary |
BuildResultsSummaryManagerImpl.findLastFailingBuildResultBefore(ImmutablePlan build,
int buildNumber) |
ResultsSummary |
ResultsSummaryManager.findLastFailingBuildResultBefore(ImmutablePlan build,
int buildNumber)
Finds the last failing
ResultsSummary before buildNumber |
List<ResultsSummary> |
BuildResultsSummaryHibernateDao.getAfterSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
BuildResultsSummaryManagerImpl.getAfterSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
ResultsSummaryManager.getAfterSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns all the
ResultsSummary objects that represent build results strictly after the given build number. |
List<ResultsSummary> |
BuildResultsSummaryDao.getAfterSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns build results strictly after given build number.
|
long |
BuildResultsSummaryManagerImpl.getAveragePlanExecutionDuration(ImmutablePlan plan,
int numberOfResults) |
long |
ResultsSummaryManager.getAveragePlanExecutionDuration(ImmutablePlan plan,
int numberOfResults)
Get average duration from n last results summaries in finished state for a plan.
|
List<ResultsSummary> |
BuildResultsSummaryHibernateDao.getBeforeSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
BuildResultsSummaryManagerImpl.getBeforeSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
ResultsSummaryManager.getBeforeSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns all the
ResultsSummary objects that represent build results strictly before the given build number. |
List<ResultsSummary> |
BuildResultsSummaryDao.getBeforeSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns build results strictly before given build number.
|
List<ResultsSummary> |
BuildResultsSummaryManagerImpl.getLastNResultsSummaries(ImmutablePlan plan,
int numberOfResults) |
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> |
BuildResultsSummaryHibernateDao.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
BuildResultsSummaryManagerImpl.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount) |
List<ResultsSummary> |
ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns all the
ResultsSummary objects that represent build results "around" the given build number. |
List<ResultsSummary> |
BuildResultsSummaryDao.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int maxCount)
Returns build results "around" given build number.
|
long |
BuildResultsSummaryHibernateDao.getNumberOfFinalizedResults(ImmutablePlan plan)
|
long |
BuildResultsSummaryManagerImpl.getNumberOfFinalizedResults(ImmutablePlan plan) |
long |
ResultsSummaryManager.getNumberOfFinalizedResults(ImmutablePlan plan)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
long |
BuildResultsSummaryDao.getNumberOfFinalizedResults(ImmutablePlan plan)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
Get the
ResultsSummary s for the given Plan . |
void |
BuildResultsSummaryManagerImpl.removeArtifacts(ImmutablePlan plan,
int buildNumber) |
void |
ResultsSummaryManager.removeArtifacts(ImmutablePlan plan,
int buildNumber)
Remove any artifacts stored for this plan result
|
void |
BuildResultsSummaryManagerImpl.removeBuildLogs(ImmutablePlan plan,
int buildNumber) |
void |
ResultsSummaryManager.removeBuildLogs(ImmutablePlan plan,
int buildNumber)
Remove any build logs stored for this plan result
|
void |
BuildResultsSummaryManagerImpl.removeBuildLogs(ImmutablePlan plan,
int buildNumber,
long maxIgnoredSize) |
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).
|
void |
BuildResultsSummaryManagerImpl.removeResultSummary(ImmutablePlan plan,
int buildNumber) |
void |
ResultsSummaryManager.removeResultSummary(ImmutablePlan plan,
int buildNumber)
Remove plan result summary and all associated objects.
|
void |
BuildResultsSummaryManagerImpl.removeResultSummary(ImmutablePlan plan,
ResultsSummary resultsSummary) |
void |
ResultsSummaryManager.removeResultSummary(ImmutablePlan plan,
ResultsSummary resultsSummary)
Remove plan result summary and all associated objects.
|
Modifier and Type | Method and Description |
---|---|
List<TestCase> |
TestsManagerImpl.getLongestRunningTestCases(ImmutablePlan plan) |
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> |
TestCaseHibernateDao.getLongestRunningTestCasesForPlan(ImmutablePlan plan) |
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>> |
TestsManagerImpl.getLongestToFixTestCases(ImmutablePlan plan) |
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,Long>> |
TestsManagerImpl.getMostFailingTestCases(ImmutablePlan plan) |
List<Pair<TestCase,Long>> |
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 |
DefaultPlanScheduler.removeTasksScheduledForPlan(ImmutablePlan plan) |
void |
PlanScheduler.removeTasksScheduledForPlan(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan |
void |
DefaultPlanScheduler.removeTasksScheduledForPlanAndBranches(ImmutablePlan plan) |
void |
PlanScheduler.removeTasksScheduledForPlanAndBranches(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan and its Branches |
void |
DefaultPlanScheduler.scheduleTasksForPlan(ImmutablePlan plan) |
void |
PlanScheduler.scheduleTasksForPlan(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan |
void |
DefaultPlanScheduler.scheduleTasksForPlanAndBranches(ImmutablePlan plan) |
void |
PlanScheduler.scheduleTasksForPlanAndBranches(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan and its Branches |
Modifier and Type | Method and Description |
---|---|
boolean |
BambooPermissionManagerImpl.hasPlanPermission(org.acegisecurity.acls.Permission permission,
ImmutablePlan plan) |
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 |
---|---|
io.atlassian.fugue.Either<String,Collection<ChangeDetectionRequiredEvent>> |
RemoteTriggerService.getChangeDetectionRequests(ImmutablePlan plan) |
Stream<io.atlassian.fugue.Either<String,Collection<ChangeDetectionRequiredEvent>>> |
RemoteTriggerService.getChangeDetectionRequestsForBranches(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Ordering<ImmutablePlan> |
Comparators.getBranchUpdatedDateOrdering()
Comparator for sorting by enabled/disabled then updated then created dates of branches
|
static com.google.common.collect.Ordering<ImmutablePlan> |
Comparators.getPlanNameProviderCaseInsensitiveOrdering()
This method will be slower than
Comparators.getTopLevelPlanNameProviderCaseInsensitiveOrdering() so consider using that
instead. |
Modifier and Type | Method and Description |
---|---|
List<ImmutablePlan> |
DependencyTreeBuilderImpl.getDirectParents(ImmutablePlan plan) |
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 |
---|---|
List<ImmutablePlan> |
DependencyTreeBuilderImpl.getDirectParents(ImmutablePlan plan) |
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 |
DefaultDependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> plansBeingTriggered) |
boolean |
DependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> siblings)
Checks if build should be blocked, and executes any parent builds if required.
|
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 |
---|---|
VariableContextBuilder |
VariableContextBuilderImpl.addParentPlanVariablesIfRequired(ImmutablePlan plan) |
VariableContextBuilder |
VariableContextBuilder.addParentPlanVariablesIfRequired(ImmutablePlan plan) |
VariableContextBuilder |
VariableContextBuilderImpl.addPlanVariables(ImmutablePlan plan) |
VariableContextBuilder |
VariableContextBuilder.addPlanVariables(ImmutablePlan plan) |
void |
CustomVariableContextImpl.setPlan(ImmutablePlan plan) |
void |
CustomVariableContextForTests.setPlan(ImmutablePlan plan) |
void |
CustomVariableContext.setPlan(ImmutablePlan plan)
Deprecated.
|
void |
CustomVariableContextImpl.setPlan(ImmutablePlan plan,
Map<String,VariableDefinitionContext> variablesContextMap) |
void |
CustomVariableContextForTests.setPlan(ImmutablePlan plan,
Map<String,VariableDefinitionContext> variablesContextMap) |
void |
CustomVariableContext.setPlan(ImmutablePlan plan,
Map<String,VariableDefinitionContext> variablesContextMap)
Deprecated.
|
void |
VariableValidationServiceImpl.validateIdForPlanVariable(com.atlassian.struts.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan) |
void |
VariableValidationServiceImpl.validateIdForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan) |
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 |
VariableSubstitutorFactoryImpl.newSubstitutorForPlan(ImmutablePlan plan) |
VariableSubstitutor |
VariableSubstitutorFactory.newSubstitutorForPlan(ImmutablePlan plan) |
Constructor and Description |
---|
VariableSubstitutorImpl(ImmutablePlan immutablePlan,
BuildLoggerManager buildLoggerManager,
CapabilityContext capabilityContext,
AgentContext agentContext,
BuildDirectoryManager buildDirectoryManager,
BambooUrl bambooUrl,
VariableDefinitionManager variableDefinitionManager,
VcsRepositoryManager vcsRepositoryManager) |
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
|
void |
VcsRepositoryConfigurationServiceImpl.setParentOfPlanRepository(ImmutablePlan plan,
long repositoryId,
long parentRepositoryId) |
void |
VcsRepositoryConfigurationService.setParentOfPlanRepository(ImmutablePlan plan,
long repositoryId,
long parentRepositoryId)
Creates or changes parent-child relationship for a plan repository.
|
boolean |
VcsRepositoryConfigurationServiceImpl.validateRepositoryName(ImmutablePlan immutablePlan,
String repositoryName,
BambooIdProvider repositoryDefinition) |
boolean |
VcsRepositoryConfigurationService.validateRepositoryName(ImmutablePlan immutablePlan,
String repositoryName,
BambooIdProvider repositoryDefinition)
Checks if provided name for repository is unique in the Plan
|
Modifier and Type | Method and Description |
---|---|
boolean |
FreemarkerContext.isFavourite(ImmutablePlan plan,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
PlanActionSupport.getImmutablePlan() |
Modifier and Type | Method and Description |
---|---|
void |
PlanActionSupport.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
ImportMavenPlanAction.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
EnablePlanBulkAction.isApplicable(ImmutablePlan plan) |
boolean |
ManualBuildBulkAction.isApplicable(ImmutablePlan plan) |
boolean |
AbstractNotificationBulkAction.isApplicable(ImmutablePlan plan) |
boolean |
DisablePlanBulkAction.isApplicable(ImmutablePlan plan) |
boolean |
BulkActionScope.isApplicable(ImmutablePlan plan)
Returns whether or not a plan is applicable for a certain bulk action, eg.
|
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
CvsBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
SvnBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
RepositoryAwareBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
UpdateWebUrlBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
boolean |
AbstractRepositoryBulkAction.isApplicable(ImmutablePlan plan) |
boolean |
UpdateWebUrlBulkAction.isApplicable(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReplaceTriggersBulkAction.isApplicable(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewChainBranches.isFavourite(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
ChainJsonProviderAction.getImmutablePlan() |
Modifier and Type | Method and Description |
---|---|
void |
ChainJsonProviderAction.setPlan(ImmutablePlan plan) |
Constructor and Description |
---|
CurrentlyBuildingJsonDecorator(com.opensymphony.xwork2.TextProvider textProvider,
CurrentlyBuilding currentlyBuilding,
AgentManager agentManager,
BambooPermissionManager bambooPermissionManager,
TriggerManager triggerManager,
ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
MoveBuilds.isApplicable(ImmutablePlan plan) |
boolean |
BulkEditBuildPermissions.isApplicable(ImmutablePlan plan) |
boolean |
DeleteBuilds.isApplicable(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
ConfigureBuildPermissions.getImmutablePlan() |
ImmutablePlan |
ConfigureBuildPermissions.getSecuredDomainObject() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigureBuildPermissions.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
TaskOwner |
TaskOwnerFactory.createPlanTaskOwner(ImmutablePlan immutablePlan) |
protected TaskDefinition |
ConfigureBuildTasks.getTaskById(ImmutablePlan plan,
long id) |
Constructor and Description |
---|
PlanTaskOwner(ImmutablePlan immutablePlan) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
CreateChain.getImmutablePlan() |
Modifier and Type | Method and Description |
---|---|
void |
CreateChain.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
ImmutablePlan |
PlanAware.getImmutablePlan() |
Modifier and Type | Method and Description |
---|---|
void |
PlanAware.setPlan(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
DecoratedPlan |
DecoratedNavObjectFactoryImpl.decoratePlan(ImmutablePlan possiblyMutablePlan) |
DecoratedPlan |
DecoratedNavObjectFactory.decoratePlan(ImmutablePlan plan)
Decorate plan
|
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.