Package org.apache.jackrabbit.vault.util
Class RepositoryCopier
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.RepositoryCopier
-
public class RepositoryCopier extends Object
Repository Copier that copies content from a source to a destination repository.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProgressTrackerListener
tracker
-
Constructor Summary
Constructors Constructor Description RepositoryCopier()
-
Method Summary
-
-
-
Field Detail
-
tracker
protected ProgressTrackerListener tracker
-
-
Method Detail
-
setTracker
public void setTracker(ProgressTrackerListener tracker)
-
getBatchSize
public int getBatchSize()
-
setBatchSize
public void setBatchSize(int batchSize)
-
getThrottle
public long getThrottle()
-
setThrottle
public void setThrottle(long throttle)
-
setSourceFilter
public void setSourceFilter(WorkspaceFilter srcFilter)
-
setOnlyNewer
public void setOnlyNewer(boolean onlyNewer)
-
setUpdate
public void setUpdate(boolean update)
-
isNoOrdering
public boolean isNoOrdering()
-
setNoOrdering
public void setNoOrdering(boolean noOrdering)
-
isOnlyNewer
public boolean isOnlyNewer()
-
isUpdate
public boolean isUpdate()
-
getSrcFilter
public WorkspaceFilter getSrcFilter()
-
getResumeFrom
public String getResumeFrom()
-
setResumeFrom
public void setResumeFrom(String resumeFrom)
-
getLastKnownGood
public String getLastKnownGood()
-
getCurrentPath
public String getCurrentPath()
-
getCurrentNumNodes
public int getCurrentNumNodes()
-
getTotalNodes
public int getTotalNodes()
-
getTotalSize
public long getTotalSize()
-
getCurrentSize
public long getCurrentSize()
-
abort
public void abort()
-
copy
public void copy(RepositoryAddress src, RepositoryAddress dst, boolean recursive) throws RepositoryException
- Throws:
RepositoryException
-
copy
public void copy(Session srcSession, String srcPath, Session dstSession, String dstPath, boolean recursive) throws RepositoryException
- Throws:
RepositoryException
-
setCredentialsProvider
public void setCredentialsProvider(CredentialsProvider credentialsProvider)
-
getCredentialsProvider
public CredentialsProvider getCredentialsProvider()
-
-