public abstract class DelegatingLongRunningTask extends Object implements com.atlassian.core.task.longrunning.LongRunningTask
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.core.task.longrunning.LongRunningTask |
delegate |
Modifier | Constructor and Description |
---|---|
protected |
DelegatingLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentStatus() |
long |
getElapsedTime() |
long |
getEstimatedTimeRemaining() |
String |
getName() |
String |
getNameKey() |
int |
getPercentageComplete() |
String |
getPrettyElapsedTime() |
String |
getPrettyTimeRemaining() |
boolean |
isComplete() |
boolean |
isSuccessful() |
void |
run() |
protected DelegatingLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate)
public int getPercentageComplete()
getPercentageComplete
in interface com.atlassian.core.task.longrunning.LongRunningTask
public String getName()
getName
in interface com.atlassian.core.task.longrunning.LongRunningTask
public String getNameKey()
getNameKey
in interface com.atlassian.core.task.longrunning.LongRunningTask
public String getCurrentStatus()
getCurrentStatus
in interface com.atlassian.core.task.longrunning.LongRunningTask
public long getElapsedTime()
getElapsedTime
in interface com.atlassian.core.task.longrunning.LongRunningTask
public String getPrettyElapsedTime()
getPrettyElapsedTime
in interface com.atlassian.core.task.longrunning.LongRunningTask
public long getEstimatedTimeRemaining()
getEstimatedTimeRemaining
in interface com.atlassian.core.task.longrunning.LongRunningTask
public String getPrettyTimeRemaining()
getPrettyTimeRemaining
in interface com.atlassian.core.task.longrunning.LongRunningTask
public boolean isComplete()
isComplete
in interface com.atlassian.core.task.longrunning.LongRunningTask
public boolean isSuccessful()
isSuccessful
in interface com.atlassian.core.task.longrunning.LongRunningTask
Copyright © 2003–2020 Atlassian. All rights reserved.