Class SvnRemoteList
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnRemoteOperationRunner<SVNDirEntry,SvnList>
-
- org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteList
-
- All Implemented Interfaces:
ISVNCanceller,ISVNDirEntryHandler,ISVNEventHandler,ISvnOperationRunner<SVNDirEntry,SvnList>
public class SvnRemoteList extends SvnRemoteOperationRunner<SVNDirEntry,SvnList> implements ISVNDirEntryHandler
-
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SvnRemoteList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddoList(SVNRepository repos, long rev, ISVNDirEntryHandler handler, boolean fetchLocks, SVNDepth depth, int entryFields, SVNURL externalParentUrl, java.lang.String externalTarget)voidhandleDirEntry(SVNDirEntry dirEntry)Handles a directory entry passed.booleanisApplicable(SvnList operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)private static voidlist(SVNRepository repository, java.lang.String path, long rev, SVNDepth depth, int entryFields, java.util.Map<SVNURL,SVNPropertyValue> externals, SVNURL externalParentUrl, java.lang.String externalTarget, ISVNDirEntryHandler handler)private voidlistExternalItems(SVNRepository repository, SVNExternal[] externalItems, SVNURL externalParentUrl, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler)private voidlistExternals(SVNRepository repository, java.util.Map<SVNURL,SVNPropertyValue> externals, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler)protected SVNDirEntryrun()-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnRemoteOperationRunner
getRepositoryAccess, getWcGeneration, isRevisionLocalToWc, reset
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(SvnList operation, SvnWcGeneration wcGeneration) throws SVNException
Description copied from interface:ISvnOperationRunnerReturns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicablein interfaceISvnOperationRunner<SVNDirEntry,SvnList>- Overrides:
isApplicablein classSvnRemoteOperationRunner<SVNDirEntry,SvnList>- Parameters:
operation- operation that needs runnerwcGeneration- working copy generation- Returns:
trueif the runner is applicable, otherwisefalse- Throws:
SVNException
-
run
protected SVNDirEntry run() throws SVNException
- Specified by:
runin classSvnOperationRunner<SVNDirEntry,SvnList>- Throws:
SVNException
-
handleDirEntry
public void handleDirEntry(SVNDirEntry dirEntry) throws SVNException
Description copied from interface:ISVNDirEntryHandlerHandles a directory entry passed.- Specified by:
handleDirEntryin interfaceISVNDirEntryHandler- Parameters:
dirEntry- a directory entry- Throws:
SVNException- See Also:
SVNDirEntry
-
doList
private void doList(SVNRepository repos, long rev, ISVNDirEntryHandler handler, boolean fetchLocks, SVNDepth depth, int entryFields, SVNURL externalParentUrl, java.lang.String externalTarget) throws SVNException
- Throws:
SVNException
-
list
private static void list(SVNRepository repository, java.lang.String path, long rev, SVNDepth depth, int entryFields, java.util.Map<SVNURL,SVNPropertyValue> externals, SVNURL externalParentUrl, java.lang.String externalTarget, ISVNDirEntryHandler handler) throws SVNException
- Throws:
SVNException
-
listExternals
private void listExternals(SVNRepository repository, java.util.Map<SVNURL,SVNPropertyValue> externals, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler) throws SVNException
- Throws:
SVNException
-
listExternalItems
private void listExternalItems(SVNRepository repository, SVNExternal[] externalItems, SVNURL externalParentUrl, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler) throws SVNException
- Throws:
SVNException
-
-