Package com.logicaldoc.core.folder
Class PathCalculator
- java.lang.Object
-
- com.logicaldoc.core.task.Task
-
- com.logicaldoc.core.folder.PathCalculator
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from class com.logicaldoc.core.task.Task
STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
-
-
Constructor Summary
Constructors Constructor Description PathCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderDAOgetFolderDao()booleanisConcurrent()Concrete implementations must override this method declaring if the task supports multiple instances running concurrently.booleanisIndeterminate()Concrete implementations must override this method declaring if the task is indeterminate.voidsetFolderDao(FolderDAO folderDao)-
Methods inherited from class com.logicaldoc.core.task.Task
addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setConfig, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isIndeterminate
public boolean isIndeterminate()
Description copied from class:TaskConcrete implementations must override this method declaring if the task is indeterminate. An indeterminate task is not able to compute it's time length- Specified by:
isIndeterminatein classTask- Returns:
- true if the task is indeterminate
-
isConcurrent
public boolean isConcurrent()
Description copied from class:TaskConcrete implementations must override this method declaring if the task supports multiple instances running concurrently.- Specified by:
isConcurrentin classTask- Returns:
- true if the task is concurrent
-
getFolderDao
public FolderDAO getFolderDao()
-
setFolderDao
public void setFolderDao(FolderDAO folderDao)
-
-