com.atlassian.bamboo.build
Class PlanResultsAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
com.atlassian.bamboo.build.PlanResultsAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanReadSecurityAware, PlanAware, ProjectAware, ResultsSummaryAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- AbstractRestPlanResults, BuildResultsAction, ChainResultsAction, EditCommentAction, GotoBuildResult, ViewJiraIssues
public class PlanResultsAction
- extends PlanActionSupport
- implements ResultsSummaryAware, PlanReadSecurityAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
getBuildKey, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, hasPlanResultComments, setBuildKey, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pluginManager
protected com.atlassian.plugin.PluginManager pluginManager
neighbouringSummaries
protected java.util.List<ResultsSummary> neighbouringSummaries
extendedAuthorManager
protected ExtendedAuthorManager extendedAuthorManager
triggerReasonManager
protected TriggerReasonManager triggerReasonManager
localAgentManager
protected LocalAgentManager localAgentManager
jiraIssueManager
protected JiraIssueManager jiraIssueManager
jiraIssueUtils
protected JiraIssueUtils jiraIssueUtils
testsManager
protected TestsManager testsManager
auditLogService
protected AuditLogService auditLogService
buildStatusHelper
protected BuildStatusHelper buildStatusHelper
resultsSummary
protected ResultsSummary resultsSummary
PlanResultsAction
public PlanResultsAction()
getResultsSummary
public ResultsSummary getResultsSummary()
- Specified by:
getResultsSummary
in interface ResultsSummaryAware
setResultsSummary
public void setResultsSummary(ResultsSummary buildResults)
- Specified by:
setResultsSummary
in interface ResultsSummaryAware
getPluginManager
public com.atlassian.plugin.PluginManager getPluginManager()
setPluginManager
public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
getNeighbouringSummaries
@NotNull
public java.util.List<ResultsSummary> getNeighbouringSummaries()
getTriggerReasonLongDescriptionHtml
public java.lang.String getTriggerReasonLongDescriptionHtml(ResultsSummary resultsSummary)
getLinkedJiraIssues
public java.util.Collection<LinkedJiraIssue> getLinkedJiraIssues()
getShortJiraIssues
public java.util.List<LinkedJiraIssue> getShortJiraIssues()
- Returns a shortened (default length) list of jira issues and controls logic behind which are shown * Fixed issues
are given preference
- Returns:
getShortJiraIssues
public java.util.List<LinkedJiraIssue> getShortJiraIssues(int numberNeeded)
- Returns a required length list of jira issues and controls logic behind which are shown * Fixed issues are given
preference
This is needed so that only the required number of Jira Issues will be retrieved from the jira server
- Parameters:
numberNeeded
-
- Returns:
getJiraIssues
public java.util.Collection<LinkedJiraIssue> getJiraIssues()
getIssueDetails
protected java.util.Collection<LinkedJiraIssue> getIssueDetails(java.util.Collection<LinkedJiraIssue> linkedIssues)
getCommentsForPlanResult
public java.util.List<Comment> getCommentsForPlanResult(ResultsSummary resultsSummary)
setJiraIssueManager
public void setJiraIssueManager(JiraIssueManager jiraIssueManager)
getExtendedAuthorManager
public ExtendedAuthorManager getExtendedAuthorManager()
setExtendedAuthorManager
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
getTriggerReasonManager
public TriggerReasonManager getTriggerReasonManager()
setTriggerReasonManager
public void setTriggerReasonManager(TriggerReasonManager triggerReasonManager)
setJiraIssueUtils
public void setJiraIssueUtils(JiraIssueUtils jiraIssueUtils)
getLocalAgentManager
public LocalAgentManager getLocalAgentManager()
setLocalAgentManager
public void setLocalAgentManager(LocalAgentManager localAgentManager)
getTestsManager
public TestsManager getTestsManager()
setTestsManager
public void setTestsManager(TestsManager testsManager)
getBuildNumber
public java.lang.Integer getBuildNumber()
- Overrides:
getBuildNumber
in class PlanActionSupport
setBuildNumber
public void setBuildNumber(java.lang.Integer buildNumber)
- Overrides:
setBuildNumber
in class PlanActionSupport
isSortByDuration
public boolean isSortByDuration()
setSortByDuration
public void setSortByDuration(boolean b)
getBuildStatusHelper
public BuildStatusHelper getBuildStatusHelper()
setAuditLogService
public void setAuditLogService(AuditLogService auditLogService)
getExecutionStatus
public ExecutionStatus getExecutionStatus()
Copyright © 2010 Atlassian. All Rights Reserved.