Interface ReplicateVersion


@ProviderType public interface ReplicateVersion
Service used to identify the latest version of the entire resource tree of the specified resources at the date specified and issue replication request to the agents specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    replicate(org.apache.sling.api.resource.ResourceResolver resolver, String[] rootPaths, String[] agents, Date date)
    Identifies the latest version of the entire resource tree of the specified resources at the date specified and issue replication request to the specified agents.
  • Method Details

    • replicate

      List<ReplicationResult> replicate(org.apache.sling.api.resource.ResourceResolver resolver, String[] rootPaths, String[] agents, Date date)
      Identifies the latest version of the entire resource tree of the specified resources at the date specified and issue replication request to the specified agents.
      Parameters:
      resolver - the resource resolver
      rootPaths - one or more paths to replicate, recursively
      agents - one or more agent ids
      date - the date from which to replicate
      Returns:
      a list of status objects