|
||||||||||
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.rest.GetLatestBuildResults
public class GetLatestBuildResults
This class provides the latest build to callers of the rest api
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager |
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 |
Build |
getBuild()
|
java.lang.String |
getBuildKey()
|
BuildResultsSummary |
getLatestBuildSummary()
Place the latest build results summary in the rest results context (uses velocity to format the output) |
java.lang.Object |
getSecuredDomainObject()
|
void |
setBuild(Build build)
|
void |
setBuildKey(java.lang.String buildKey)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, 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 |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
---|
getText |
Constructor Detail |
---|
public GetLatestBuildResults()
Method Detail |
---|
public java.lang.String doExecute() throws java.lang.Exception
doExecute
in class BambooActionSupport
java.lang.Exception
- A generic failurepublic java.lang.Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public BuildResultsSummary getLatestBuildSummary()
BuildResultsSummary
, null if the build does not have any build resultspublic Build getBuild()
getBuild
in interface BuildAware
public void setBuild(Build build)
setBuild
in interface BuildAware
public 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 |