Class LongTaskStatus
java.lang.Object
com.atlassian.confluence.api.model.longtasks.LongTaskStatus
- All Implemented Interfaces:
Comparable<LongTaskStatus>
Represents a long-running task in the system.
Instances of this class can be used to track task progress and obtain the final result of the task.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder
(LongTaskId id) int
compareTo
(LongTaskStatus longTaskStatus) boolean
long
getId()
getName()
int
int
hashCode()
boolean
-
Method Details
-
getId
-
getElapsedTime
public long getElapsedTime() -
getName
-
getPercentageComplete
public int getPercentageComplete() -
isSuccessful
public boolean isSuccessful() -
getMessages
-
builder
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LongTaskStatus>
-