Class RestartActiveBundlesTask

java.lang.Object
org.apache.sling.installer.api.tasks.InstallTask
org.apache.sling.installer.core.impl.AbstractInstallTask
org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask
All Implemented Interfaces:
Comparable<InstallTask>

public class RestartActiveBundlesTask extends org.apache.sling.installer.core.impl.AbstractInstallTask
Restart all active bundles. This task is added to each installer cycle.
  • Constructor Details

  • Method Details

    • execute

      public void execute(InstallationContext ctx)
      Description copied from class: InstallTask
      This is the heart of the task - it performs the actual task.
      Specified by:
      execute in class InstallTask
      Parameters:
      ctx - The installation context.
    • getSortKey

      public String getSortKey()
      Description copied from class: InstallTask
      Tasks are sorted according to this key. Therefore this key must uniquely identify this task. A typical sort key contains the entity id of the resource in execution.
      Specified by:
      getSortKey in class InstallTask
      Returns:
      The sorting key.