@ExperimentalApi public class LongTaskStatus extends Object implements Comparable<LongTaskStatus>
Instances of this class can be used to track task progress and obtain the final result of the task.
Modifier and Type | Class and Description |
---|---|
static class |
LongTaskStatus.LongTaskBuilder |
Modifier and Type | Method and Description |
---|---|
static LongTaskStatus.LongTaskBuilder |
builder(LongTaskId id) |
int |
compareTo(LongTaskStatus longTaskStatus) |
boolean |
equals(Object other) |
long |
getElapsedTime() |
LongTaskId |
getId() |
List<Message> |
getMessages() |
Message |
getName() |
int |
getPercentageComplete() |
int |
hashCode() |
boolean |
isSuccessful() |
public LongTaskId getId()
public long getElapsedTime()
public Message getName()
public int getPercentageComplete()
public boolean isSuccessful()
public static LongTaskStatus.LongTaskBuilder builder(LongTaskId id)
public int compareTo(LongTaskStatus longTaskStatus)
compareTo
in interface Comparable<LongTaskStatus>
Copyright © 2003–2018 Atlassian. All rights reserved.