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