com.atlassian.core.task.longrunning
Interface LongRunningTask

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractLongRunningTask

public interface LongRunningTask
extends java.lang.Runnable


Method Summary
 java.lang.String getCurrentStatus()
           
 long getElapsedTime()
           
 long getEstimatedTimeRemaining()
           
 java.lang.String getName()
           
 java.lang.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()
           
 java.lang.String getPrettyElapsedTime()
           
 java.lang.String getPrettyTimeRemaining()
           
 boolean isComplete()
           
 boolean isSuccessful()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

getPercentageComplete

int getPercentageComplete()

getName

java.lang.String getName()

getNameKey

java.lang.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

java.lang.String getCurrentStatus()

getElapsedTime

long getElapsedTime()

getPrettyElapsedTime

java.lang.String getPrettyElapsedTime()

getEstimatedTimeRemaining

long getEstimatedTimeRemaining()

getPrettyTimeRemaining

java.lang.String getPrettyTimeRemaining()

isComplete

boolean isComplete()

isSuccessful

boolean isSuccessful()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.