Interface ReplicateVersion
-
@ProviderType public interface ReplicateVersionService 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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
-
-