com.atlassian.bamboo.rest
Class ExecuteBuild

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.rest.ExecuteBuild
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanExecuteSecurityAware, PlanAware, RestActionAware, 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

public class ExecuteBuild
extends BambooActionSupport
implements RestActionAware, PlanAware, PlanExecuteSecurityAware

See Also:
Serialized Form

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, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, 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
ExecuteBuild()
           
 
Method Summary
 java.lang.String doExecute()
          Execute the rest api call
 java.lang.String getAuth()
           
 BambooUserManager getBambooUserManager()
           
 java.lang.String getBuildKey()
           
 Plan getPlan()
           
 java.lang.Object getSecuredDomainObject()
           
 void setAuth(java.lang.String auth)
           
 void setBambooUserManager(BambooUserManager bambooUserManager)
           
 void setBuildKey(java.lang.String buildKey)
           
 void setPlan(Plan plan)
           
 void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, 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, 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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

ExecuteBuild

public ExecuteBuild()
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Execute the rest api call

Overrides:
doExecute in class BambooActionSupport
Returns:
The webwork status code
Throws:
java.lang.Exception - A generic failure

getSecuredDomainObject

public java.lang.Object getSecuredDomainObject()
Specified by:
getSecuredDomainObject in interface DomainObjectSecurityAware
Overrides:
getSecuredDomainObject in class BambooActionSupport

getBambooUserManager

public BambooUserManager getBambooUserManager()
Overrides:
getBambooUserManager in class BambooActionSupport

setBambooUserManager

public void setBambooUserManager(BambooUserManager bambooUserManager)
Overrides:
setBambooUserManager in class BambooActionSupport

getBuildKey

public java.lang.String getBuildKey()

setBuildKey

public void setBuildKey(java.lang.String buildKey)

setPlanExecutionManager

public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
Overrides:
setPlanExecutionManager in class BambooActionSupport

getAuth

public java.lang.String getAuth()

setAuth

public void setAuth(java.lang.String auth)

getPlan

public Plan getPlan()
Specified by:
getPlan in interface PlanAware

setPlan

public void setPlan(Plan plan)
Specified by:
setPlan in interface PlanAware


Copyright © 2010 Atlassian. All Rights Reserved.