com.atlassian.core.task.longrunning
Interface LongRunningTask

All Superinterfaces:
Runnable
All Known Implementing Classes:
AbstractLongRunningTask

public interface LongRunningTask
extends Runnable


Method Summary
 String getCurrentStatus()
           
 long getElapsedTime()
           
 long getEstimatedTimeRemaining()
           
 String getName()
           
 String getNameKey()
          Internationalisation key for the name of the task, so that the task's name can be displayed in the User Interface.
 int getPercentageComplete()
           
 String getPrettyElapsedTime()
           
 String getPrettyTimeRemaining()
           
 boolean isComplete()
           
 boolean isSuccessful()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

getPercentageComplete

int getPercentageComplete()

getName

String getName()

getNameKey

String getNameKey()
Internationalisation key for the name of the task, so that the task's name can be displayed in the User Interface. May be null if the task's name will not be displayed to users.


getCurrentStatus

String getCurrentStatus()

getElapsedTime

long getElapsedTime()

getPrettyElapsedTime

String getPrettyElapsedTime()

getEstimatedTimeRemaining

long getEstimatedTimeRemaining()

getPrettyTimeRemaining

String getPrettyTimeRemaining()

isComplete

boolean isComplete()

isSuccessful

boolean isSuccessful()


Copyright © 2015 Atlassian. All rights reserved.