|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.ww2.actions.PlanActionSupport com.atlassian.bamboo.ww2.actions.BuildActionSupport com.atlassian.bamboo.build.ViewBuild
public class ViewBuild
This class displays a build and its build summary
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
BambooActionSupport.JSONStatus |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
buildExecutionManager |
Fields inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
buildNumber, resultsSummaryManager |
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, bambooPermissionManager, bambooUserManager, buildDefinitionManager, 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 |
Constructor Summary | |
---|---|
ViewBuild()
|
Method Summary | |
---|---|
java.lang.String |
doDefault()
Default action just sends to the input |
java.lang.String |
doExecute()
Obtain the list of builds associated with the build |
BuildAgent |
getAgent(CurrentlyBuilding currentlyBuilding)
|
java.util.Collection |
getBuildErrors()
Obtain all the current build errors. |
BuildStatusHelper |
getBuildStatusHelper()
|
FilterController |
getFilterController()
|
ResultsSummary |
getLastSuccessfulSummary()
|
ResultsSummary |
getLatestSummary()
|
Pager |
getPager()
|
java.util.List<? extends ResultsSummary> |
getResultsList()
Provide the GUI with the collection of BuildResultsSummary objects for the specified build. |
StatisticsCollector |
getStatistics()
|
void |
setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
|
void |
setFilterController(FilterController filterController)
|
void |
setLocalAgentManager(LocalAgentManager localAgentManager)
|
void |
setResultsList(java.util.List<? extends ResultsSummary> results)
|
void |
setStatistics(StatisticsCollector statistics)
|
void |
validate()
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
getBuild, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildResultKey |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
---|
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanResultKey, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager |
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.ww2.aware.PlanAware |
---|
getPlan, setPlan |
Methods inherited from interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware |
---|
getSecuredDomainObject |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Constructor Detail |
---|
public ViewBuild()
Method Detail |
---|
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public java.lang.String doExecute() throws java.lang.Exception
doExecute
in class BambooActionSupport
java.lang.Exception
- Generic failurepublic java.lang.String doDefault() throws java.lang.Exception
BambooActionSupport
doDefault
in class BambooActionSupport
java.lang.Exception
public StatisticsCollector getStatistics()
getStatistics
in interface StatisticsAware
public void setStatistics(StatisticsCollector statistics)
setStatistics
in interface StatisticsAware
public BuildStatusHelper getBuildStatusHelper()
public java.util.Collection getBuildErrors()
public FilterController getFilterController()
public void setFilterController(FilterController filterController)
public java.util.List<? extends ResultsSummary> getResultsList()
BuildResultsSummary
objects for the specified build. These are
sorted most recent first.
getResultsList
in interface ResultsListAware
public void setResultsList(java.util.List<? extends ResultsSummary> results)
setResultsList
in interface ResultsListAware
@Nullable public BuildAgent getAgent(@NotNull CurrentlyBuilding currentlyBuilding)
public Pager getPager()
@Nullable public ResultsSummary getLastSuccessfulSummary()
@Nullable public ResultsSummary getLatestSummary()
public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
public void setLocalAgentManager(LocalAgentManager localAgentManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |