Class LongRunningTaskMonitorAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

    public class LongRunningTaskMonitorAction
    extends ConfluenceActionSupport
    See Also:
    Serialized Form
    • Constructor Detail

      • LongRunningTaskMonitorAction

        public LongRunningTaskMonitorAction()
    • Method Detail

      • execute

        public String execute()
        Specified by:
        execute in interface org.apache.struts2.action.Action
        Overrides:
        execute in class org.apache.struts2.ActionSupport
      • getTaskName

        public String getTaskName()
      • getCurrentStatus

        public String getCurrentStatus()
      • getTask

        public com.atlassian.core.task.longrunning.LongRunningTask getTask()
      • getPrettyElapsedTime

        public String getPrettyElapsedTime()
      • getPrettyTimeRemaining

        public String getPrettyTimeRemaining()
      • doTaskStatus

        public String doTaskStatus()
        Refreshes the task object in the context for displaying the status of the long running task - note that if the task was queued instead of started immediately, taskId needs to be defined.
      • getTaskId

        public String getTaskId()
      • setTaskId

        public void setTaskId​(String taskId)