Class NodeCleanupRegistry

java.lang.Object
org.alfresco.repo.node.cleanup.NodeCleanupRegistry
All Implemented Interfaces:
NodeCleanupWorker

public class NodeCleanupRegistry extends Object implements NodeCleanupWorker
A worker that aggregates any number of registered workers.
Since:
2.2 SP2
Author:
Derek Hulley
  • Constructor Details

    • NodeCleanupRegistry

      public NodeCleanupRegistry()
  • Method Details

    • register

      public void register(NodeCleanupWorker cleanupWorker)
    • doClean

      public List<String> doClean()
      Calls all registered cleaners in order, without transactions or authentication. The return messages are aggregated.
      Specified by:
      doClean in interface NodeCleanupWorker
      Returns:
      Returns a list of informational messages.