|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.ww2.actions.PlanActionSupport com.atlassian.bamboo.ww2.actions.BuildActionSupport com.atlassian.bamboo.trigger.remote.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, jiraApplinksService, repositoryConfigurationService, resultsSummaryManager |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
TriggerRemoteBuild()
|
Method Summary | |
---|---|
String |
doExecute()
Places the current user on the page |
protected List<String> |
getRequestIpAddresses()
|
protected boolean |
ipMatchesHost(String testedIp,
String hostName)
|
void |
setChainBranchManager(ChainBranchManager chainBranchManager)
|
void |
setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
|
void |
validate()
|
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport |
---|
getBuild, getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getImmutableBuild, getMutableBuild, getSecuredDomainObject, setBuild, setBuildExecutionManager, setBuildResultKey |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, 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 |
Methods inherited from interface com.opensymphony.xwork2.ValidationAware |
---|
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Constructor Detail |
---|
public TriggerRemoteBuild()
Method Detail |
---|
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String doExecute() throws Exception
BambooActionSupport
doExecute
in class BambooActionSupport
Exception
- something nasty went wrongprotected boolean ipMatchesHost(@NotNull String testedIp, @NotNull String hostName) throws UnknownHostException
UnknownHostException
protected List<String> getRequestIpAddresses()
public void setChainBranchManager(ChainBranchManager chainBranchManager)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |