public class PlanResultsAction extends PlanActionSupport implements ResultsSummaryAware, PlanReadSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected AgentManager |
agentManager |
protected ArtifactLinkManager |
artifactLinkManager |
protected AuditLogService |
auditLogService |
protected BuildStatusHelper |
buildStatusHelper |
protected CustomVariableContext |
customVariableContext |
protected ExtendedAuthorManager |
extendedAuthorManager |
protected JiraIssueManager |
jiraIssueManager |
protected JiraIssueUtils |
jiraIssueUtils |
protected List<ResultsSummary> |
neighbouringSummaries |
protected RepositoryDefinitionManager |
repositoryDefinitionManager |
protected ResultsSummary |
resultsSummary |
protected TestQuarantineManager |
testQuarantineManager |
protected TestsManager |
testsManager |
protected TriggerManager |
triggerManager |
protected VcsRepositoryViewerManager |
vcsRepositoryViewerManager |
buildNumber, jiraApplinksService, resultsSummaryManager, vcsRepositoryConfigurationService
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
PlanResultsAction() |
getBuildKey, getCurrentlyBuildingPlans, getErrorAccessor, getFirstNotRunnableStage, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isContinuable, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildContextFactory, setBuildKey, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager, setVcsRepositoryConfigurationService
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImmutablePlan, getMutablePlan, getPlan, setPlan
getSecuredDomainObject
getAllErrorMessages
protected List<ResultsSummary> neighbouringSummaries
protected ExtendedAuthorManager extendedAuthorManager
protected TriggerManager triggerManager
protected AgentManager agentManager
protected JiraIssueManager jiraIssueManager
protected JiraIssueUtils jiraIssueUtils
protected TestsManager testsManager
protected AuditLogService auditLogService
protected TestQuarantineManager testQuarantineManager
protected BuildStatusHelper buildStatusHelper
protected ResultsSummary resultsSummary
protected ArtifactLinkManager artifactLinkManager
protected RepositoryDefinitionManager repositoryDefinitionManager
protected VcsRepositoryViewerManager vcsRepositoryViewerManager
protected CustomVariableContext customVariableContext
public ResultsSummary getResultsSummary()
getResultsSummary
in interface ResultsSummaryAware
public void setResultsSummary(ResultsSummary buildResults)
setResultsSummary
in interface ResultsSummaryAware
@Nullable public ChainStageResult getPreviousFailedStageResult(BuildResultsSummary buildResultsSummary)
ChainStageResult
that failed before the
BuildResultsSummary
failed.
Returns null if no ChainStageResult
failed.buildResultsSummary
- @Nullable public StageIdentifier getStageToContinue()
@NotNull public List<ResultsSummary> getNeighbouringSummaries()
public String getTriggerReasonLongDescriptionHtml(ResultsSummary resultsSummary)
public String getTriggerReasonLongDescriptionText(ResultsSummary resultsSummary)
public Collection<LinkedJiraIssue> getLinkedJiraIssues()
@NotNull public Pair<LinkedJiraIssue,URI> getLinkedJiraIssue(String issueKey)
@Nullable public String getLinkedJiraIssueForTestCase(long testCaseId)
public Collection<LinkedJiraIssue> getSizeBoundedLinkedJiraIssues(int size)
public boolean isHideJiraTeaser()
public List<LinkedJiraIssue> getShortJiraIssues()
public List<LinkedJiraIssue> getShortJiraIssues(int numberNeeded)
This is needed so that only the required number of JIRA Issues will be retrieved from the jira server
numberNeeded
- public List<LinkedJiraIssue> getJiraIssues()
public boolean isOauthAuthenticationRequired()
public URI getOauthLoginDanceUrl()
protected Iterable<LinkedJiraIssue> getIssueDetails(Iterable<LinkedJiraIssue> linkedIssues)
public void setJiraIssueManager(JiraIssueManager jiraIssueManager)
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
public void setTriggerManager(TriggerManager triggerManager)
public void setJiraIssueUtils(JiraIssueUtils jiraIssueUtils)
public void setAgentManager(AgentManager agentManager)
public void setTestsManager(TestsManager testsManager)
public Integer getBuildNumber()
getBuildNumber
in class PlanActionSupport
public void setBuildNumber(Integer buildNumber)
setBuildNumber
in class PlanActionSupport
public Integer getRequestedBuildNumber()
public Date getFailStartDate()
public boolean isAuditLoggingEnabled()
public boolean isConfigChanged()
public boolean hasDetachedResults()
@Nullable public TestCaseResult getTestCaseResultOnMasterBranch(@Nullable TestCaseResult testCaseResult)
public boolean isSortByDuration()
public void setSortByDuration(boolean b)
public BuildStatusHelper getBuildStatusHelper()
public void setAuditLogService(AuditLogService auditLogService)
public ExecutionStatus getExecutionStatus()
@Nullable public ChainExecution getChainExecution()
public void setChainExecutionManager(ChainExecutionManager chainExecutionManager)
public void setTestQuarantineManager(TestQuarantineManager testQuarantineManager)
@NotNull protected Map<String,Object> buildWebPanelContext(@NotNull String location)
BambooActionSupport
WebPanel
s via FreemarkerContext.getWebPanels(String)
In
the future the results of this method may be cachedbuildWebPanelContext
in class PlanActionSupport
protected boolean validateResultSummary()
public int getSkippedCommitsCount(@NotNull ResultsSummary resultsSummary)
public VcsRepositoryData getRepositoryData(@NotNull RepositoryChangeset repositoryChangeset)
@Nullable public VcsRepositoryViewer getRepositoryViewer(@NotNull VcsRepositoryData repositoryData)
@NotNull public Map<String,String> getUrlsForChangeset(@NotNull RepositoryChangeset repositoryChangeset)
@Nullable public String getUrlForCommitId(@Nullable String commitId, @NotNull VcsRepositoryData repositoryData)
public com.google.common.collect.ImmutableList<RepositoryChangeset> getRepositoryChangesetsWithNotBlankRevision(@NotNull ResultsSummary resultsSummary)
public void setCreateIssueAppLinkId(String createIssueAppLinkId)
public String getCreateIssueAppLinkId()
public String getNewIssueKey()
public void setNewIssueKey(String newIssueKey)
public List<VariableDefinitionContext> getMaskedVariables()
@NotNull public List<VariableDefinitionContext> getManualVariables()
public boolean isTestQuarantineEnabled()
public boolean isTestQuarantineExpiryOverridable()
public int getTestQuarantineExpiryDuration()
public String getTestQuarantineExpiryPeriod()
@Nullable public final String getArtifactLinkUrl(ArtifactLink artifactLink)
@NotNull public final String getArtifactSizeDescription(ArtifactLink artifactLink)
public boolean isChain()
public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
public void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)
setRepositoryDefinitionManager
in class PlanActionSupport
public void setVcsRepositoryViewerManager(VcsRepositoryViewerManager vcsRepositoryViewerManager)
public void setCustomVariableContext(CustomVariableContext customVariableContext)
public void setCommentManager(CommentManager commentManager)
public void setResultsSummaryVariableAccessor(ResultsSummaryVariableAccessor resultsSummaryVariableAccessor)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.