Package com.atlassian.jira.web.bean
Class TaskDescriptorBean<V extends Serializable>
java.lang.Object
com.atlassian.jira.web.bean.TaskDescriptorBean<V>
A UI styler bean to help format up a
TaskDescriptor
.- Since:
- v3.13
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
Returns a number between 0 and 100 and caters for lack of progress and finished tasks.We don't re-expose this.boolean
boolean
boolean
boolean
boolean
void
setCancelled
(boolean cancelled) void
setExceptionCause
(Throwable cause) void
-
Method Details
-
getTaskDescriptor
-
getFormattedElapsedRunTime
-
getResult
-
isStarted
public boolean isStarted() -
isFinished
public boolean isFinished() -
getTaskId
-
getStartedTimestamp
-
getFormattedStartedTimestamp
-
getFinishedTimestamp
-
getFormattedFinishedTimestamp
-
getSubmittedTimestamp
-
getFormattedSubmittedTimestamp
-
getElapsedRunTime
public long getElapsedRunTime() -
getUserName
-
getDescription
-
getTaskContext
-
isCancellable
public boolean isCancellable() -
isCancelled
public boolean isCancelled() -
setCancelled
public void setCancelled(boolean cancelled) -
setResult
-
getNodeId
-
getTaskProgressIndicator
We don't re-expose this. Use getLastProgressEvent().- Returns:
- always null
-
getFormattedProgress
-
getProgressNumber
public long getProgressNumber()Returns a number between 0 and 100 and caters for lack of progress and finished tasks.- Returns:
- a number between 0 and 100 and caters for lack of progress and finished tasks.
-
getInverseProgressNumber
public long getInverseProgressNumber() -
setExceptionCause
-
getExceptionCause
-
getFormattedExceptionCause
-
isUserWhoStartedTask
public boolean isUserWhoStartedTask() -
getProgressURL
-
getUserURL
-
getLastProgressEvent
-