Class MoveJobAction

    • Constructor Detail

      • MoveJobAction

        public MoveJobAction()
    • Method Detail

      • 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
      • execute

        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • confirm

        public String confirm()
      • getJobKey

        public String getJobKey()
      • setJobKey

        public void setJobKey​(String jobKey)
      • getStageId

        public long getStageId()
      • setStageId

        public void setStageId​(long stageId)
      • isRemoveBrokenSubscriptions

        public boolean isRemoveBrokenSubscriptions()
      • setRemoveBrokenSubscriptions

        public void setRemoveBrokenSubscriptions​(boolean removeBrokenSubscriptions)
      • setArtifactSubscriptionManager

        public void setArtifactSubscriptionManager​(ArtifactSubscriptionManager artifactSubscriptionManager)
      • getJobsContainingInvalidSubscriptions

        public com.google.common.collect.Multimap<ChainStage,​Job> getJobsContainingInvalidSubscriptions()
        This method returns consumers of artifacts for which exists a subscription that would be broken by the move operation that triggered the action.
        Returns:
        multimap of jobs grouped by stages