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 TypeMethodDescriptionreplicate(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 resolverrootPaths- one or more paths to replicate, recursivelyagents- one or more agent idsdate- the date from which to replicate- Returns:
- a list of status objects
-