|
||||||||||
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.v2.ww2.build.TriggerRemoteBuild
public class TriggerRemoteBuild
An action supports triggering from a remote SCM
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, 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 |
Constructor Summary | |
---|---|
TriggerRemoteBuild()
|
Method Summary | |
---|---|
java.lang.String |
doExecute()
Places the current user on the page |
protected java.lang.String |
getRequestIpAddress()
|
protected boolean |
hostsDontMatch(java.lang.String requestIpAddress,
java.lang.String cvsServerHostName,
java.lang.String overrideAddress)
|
void |
setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
|
void |
setEventManager(com.atlassian.event.EventManager eventManager)
|
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 |
---|
getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, hasPlanResultComments, 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.permissions.DomainObjectSecurityAware |
---|
getSecuredDomainObject |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Constructor Detail |
---|
public TriggerRemoteBuild()
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
BambooActionSupport
doExecute
in class BambooActionSupport
java.lang.Exception
- something nasty went wrongprotected boolean hostsDontMatch(java.lang.String requestIpAddress, java.lang.String cvsServerHostName, java.lang.String overrideAddress)
protected java.lang.String getRequestIpAddress()
public void setEventManager(com.atlassian.event.EventManager eventManager)
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |