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

public int getPercentageComplete()

getName

public java.lang.String getName()

getNameKey

public 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

public java.lang.String getCurrentStatus()

getElapsedTime

public long getElapsedTime()

getPrettyElapsedTime

public java.lang.String getPrettyElapsedTime()

getEstimatedTimeRemaining

public long getEstimatedTimeRemaining()

getPrettyTimeRemaining

public java.lang.String getPrettyTimeRemaining()

isComplete

public boolean isComplete()

isSuccessful

public boolean isSuccessful()


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.