Class PathCalculator

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.core.folder.PathCalculator
All Implemented Interfaces:
Runnable

@Component("pathCalculator") public class PathCalculator extends Task
This task calculate the path attributes of the folders(only those folders without path will be processed.
Since:
8.3.3
Author:
Marco Meschieri - LogicalDOC
  • Field Details

  • Constructor Details

    • PathCalculator

      public PathCalculator()
  • Method Details

    • isIndeterminate

      public boolean isIndeterminate()
      Description copied from class: Task
      Concrete 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:
      isIndeterminate in class Task
      Returns:
      true if the task is indeterminate
    • isConcurrent

      public boolean isConcurrent()
      Description copied from class: Task
      Concrete implementations must override this method declaring if the task supports multiple instances running concurrently. tHIbernat
      Specified by:
      isConcurrent in class Task
      Returns:
      true if the task is concurrent
    • getFolderDao

      public FolderDAO getFolderDao()
    • setFolderDao

      public void setFolderDao(FolderDAO folderDao)