Class TriggerManualBuild

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, ChainAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanExecuteSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ParameterisedManualBuild

public class TriggerManualBuild extends ChainActionSupport implements PlanExecuteSecurityAware
An action that sends off a manual build request
See Also:
  • Field Details

    • dependenciesDisabled

      protected boolean dependenciesDisabled
    • customVariables

      protected Map<String,String> customVariables
    • customRevision

      protected String customRevision
  • Constructor Details

    • TriggerManualBuild

      public TriggerManualBuild()
  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • processResult

      @NotNull protected @NotNull String processResult(ExecutionRequestResult result, PlanResultKey planResultKey)
    • setDependenciesDisabled

      public void setDependenciesDisabled(boolean dependenciesDisabled)
    • setCustomRevision

      public void setCustomRevision(String customRevision)
    • getCustomRevision

      public String getCustomRevision()
    • calculateParams

      protected Map<String,String> calculateParams()