|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.rest.GetLatestBuildResults
public class GetLatestBuildResults
This class provides the latest build to callers of the rest api
| 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.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 | |
|---|---|
GetLatestBuildResults()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doExecute()
Execute the rest api call |
java.lang.String |
getBuildKey()
|
ResultsSummary |
getLatestResultsSummary()
Place the latest build results summary in the rest results context (uses velocity to format the output) |
Plan |
getPlan()
|
java.lang.Object |
getSecuredDomainObject()
|
void |
setBuildKey(java.lang.String buildKey)
|
void |
setPlan(Plan plan)
|
| 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 |
| Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
|---|
getErrorMessages, getErrors, getFieldErrors |
| Constructor Detail |
|---|
public GetLatestBuildResults()
| Method Detail |
|---|
public java.lang.String doExecute()
throws java.lang.Exception
doExecute in class BambooActionSupportjava.lang.Exception - A generic failurepublic java.lang.Object getSecuredDomainObject()
getSecuredDomainObject in interface DomainObjectSecurityAwaregetSecuredDomainObject in class BambooActionSupportpublic ResultsSummary getLatestResultsSummary()
BuildResultsSummary, null if the build does not have any build resultspublic Plan getPlan()
getPlan in interface PlanAwarepublic void setPlan(Plan plan)
setPlan in interface PlanAwarepublic java.lang.String getBuildKey()
public void setBuildKey(java.lang.String buildKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||