public class


extends Object
   ↳ com.atlassian.jira.web.bean.TaskDescriptorBean<V extends>

Class Overview

A UI styler bean to help format up a TaskDescriptor.


Nested Classes
class TaskDescriptorBean.Factory  
Public Methods
String getDescription()
long getElapsedRunTime()
Throwable getExceptionCause()
Date getFinishedTimestamp()
String getFormattedElapsedRunTime()
String getFormattedExceptionCause()
String getFormattedFinishedTimestamp()
String getFormattedProgress()
String getFormattedStartedTimestamp()
String getFormattedSubmittedTimestamp()
long getInverseProgressNumber()
TaskProgressEvent getLastProgressEvent()
long getProgressNumber()
Returns a number between 0 and 100 and caters for lack of progress and finished tasks.
String getProgressURL()
V getResult()
Date getStartedTimestamp()
Date getSubmittedTimestamp()
TaskContext getTaskContext()
TaskDescriptor getTaskDescriptor()
Long getTaskId()
TaskProgressIndicator getTaskProgressIndicator()
We don't re-expose this.
String getUserName()
String getUserURL()
boolean isCancellable()
boolean isCancelled()
boolean isFinished()
boolean isStarted()
boolean isUserWhoStartedTask()
void setCancelled(boolean cancelled)
void setExceptionCause(Throwable cause)
void setResult(V result)
Inherited Methods
From class java.lang.Object

Public Methods

public String getDescription ()

public long getElapsedRunTime ()

public Throwable getExceptionCause ()

public Date getFinishedTimestamp ()

public String getFormattedElapsedRunTime ()

public String getFormattedExceptionCause ()

public String getFormattedFinishedTimestamp ()

public String getFormattedProgress ()

public String getFormattedStartedTimestamp ()

public String getFormattedSubmittedTimestamp ()

public long getInverseProgressNumber ()

public TaskProgressEvent getLastProgressEvent ()

public long getProgressNumber ()

Returns a number between 0 and 100 and caters for lack of progress and finished tasks.

  • a number between 0 and 100 and caters for lack of progress and finished tasks.

public String getProgressURL ()

public V getResult ()

public Date getStartedTimestamp ()

public Date getSubmittedTimestamp ()

public TaskContext getTaskContext ()

public TaskDescriptor getTaskDescriptor ()

public Long getTaskId ()

public TaskProgressIndicator getTaskProgressIndicator ()

We don't re-expose this. Use getLastProgressEvent().

  • always null

public String getUserName ()

public String getUserURL ()

public boolean isCancellable ()

public boolean isCancelled ()

public boolean isFinished ()

public boolean isStarted ()

public boolean isUserWhoStartedTask ()

public void setCancelled (boolean cancelled)

public void setExceptionCause (Throwable cause)

public void setResult (V result)