Class ParameterisedManualBuild

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

public class ParameterisedManualBuild extends TriggerManualBuild implements PlanExecuteSecurityAware
See Also:
  • Constructor Details

    • ParameterisedManualBuild

      public ParameterisedManualBuild()
  • Method Details

    • execute

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

      public String continueBuild() throws Exception
      Throws:
      Exception
    • buildJsonObject

      @NotNull protected @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Description copied from class: BambooActionSupport
      Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly. If descending classes need to add anything to JSON response these should override this method.
      Overrides:
      buildJsonObject in class BambooActionSupport
      Returns:
      Initialized JSONObject
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
    • isShowPushOverrideOption

      public boolean isShowPushOverrideOption()
    • getOverridableVariables

      @NotNull public @NotNull Collection<? extends VariableDefinitionContext> getOverridableVariables()
    • isUserCanOverrideVariables

      public boolean isUserCanOverrideVariables()
    • getOverriddenVariablesMap

      public Map<String,VariableDefinitionContext> getOverriddenVariablesMap()
    • planHasRepository

      public boolean planHasRepository()
    • planHasManualStages

      public boolean planHasManualStages()
    • getResultSummary

      public ImmutableChainResultsSummary getResultSummary()
    • isContinuable

      public boolean isContinuable()
    • getRunAction

      public String getRunAction()
    • getOverridableVariablesDropdownJson

      public com.opensymphony.webwork.dispatcher.json.JSONObject getOverridableVariablesDropdownJson() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
    • setVariableDefinitionManager

      public void setVariableDefinitionManager(VariableDefinitionManager variableDefinitionManager)
    • setResultsSummaryVariableAccessor

      public void setResultsSummaryVariableAccessor(ResultsSummaryVariableAccessor resultsSummaryVariableAccessor)
    • setSelectedStage

      public void setSelectedStage(String selectedStage)
    • getSelectedStage

      public String getSelectedStage()
    • getVariablesKey

      public String getVariablesKey()
    • getStageToContinue

      public String getStageToContinue()
    • setStageToContinue

      public void setStageToContinue(String stageToContinue)
    • isBranchMergePushOverride

      public boolean isBranchMergePushOverride()
    • setBranchMergePushOverride

      public void setBranchMergePushOverride(boolean branchMergePushOverride)
    • isVerboseLogging

      public boolean isVerboseLogging()
    • setVerboseLogging

      public void setVerboseLogging(boolean verboseLogging)