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 -
Method Summary
Modifier and TypeMethodDescriptionprivate void
doList
(SVNRepository repos, long rev, ISVNDirEntryHandler handler, boolean fetchLocks, SVNDepth depth, int entryFields, SVNURL externalParentUrl, String externalTarget) void
handleDirEntry
(SVNDirEntry dirEntry) Handles a directory entry passed.boolean
isApplicable
(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 void
list
(SVNRepository repository, String path, long rev, SVNDepth depth, int entryFields, Map<SVNURL, SVNPropertyValue> externals, SVNURL externalParentUrl, String externalTarget, ISVNDirEntryHandler handler) private void
listExternalItems
(SVNRepository repository, SVNExternal[] externalItems, SVNURL externalParentUrl, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler) private void
listExternals
(SVNRepository repository, Map<SVNURL, SVNPropertyValue> externals, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler) protected SVNDirEntry
run()
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
-
Constructor Details
-
SvnRemoteList
public SvnRemoteList()
-
-
Method Details
-
isApplicable
Description copied from interface:ISvnOperationRunner
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicable
in interfaceISvnOperationRunner<SVNDirEntry,
SvnList> - Overrides:
isApplicable
in classSvnRemoteOperationRunner<SVNDirEntry,
SvnList> - Parameters:
operation
- operation that needs runnerwcGeneration
- working copy generation- Returns:
true
if the runner is applicable, otherwisefalse
- Throws:
SVNException
-
run
- Specified by:
run
in classSvnOperationRunner<SVNDirEntry,
SvnList> - Throws:
SVNException
-
handleDirEntry
Description copied from interface:ISVNDirEntryHandler
Handles a directory entry passed.- Specified by:
handleDirEntry
in interfaceISVNDirEntryHandler
- Parameters:
dirEntry
- a directory entry- Throws:
SVNException
- See Also:
-
doList
private void doList(SVNRepository repos, long rev, ISVNDirEntryHandler handler, boolean fetchLocks, SVNDepth depth, int entryFields, SVNURL externalParentUrl, String externalTarget) throws SVNException - Throws:
SVNException
-
list
private static void list(SVNRepository repository, String path, long rev, SVNDepth depth, int entryFields, Map<SVNURL, SVNPropertyValue> externals, SVNURL externalParentUrl, String externalTarget, ISVNDirEntryHandler handler) throws SVNException- Throws:
SVNException
-
listExternals
private void listExternals(SVNRepository repository, 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
-