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 void
doList(SVNRepository repos, long rev, ISVNDirEntryHandler handler, boolean fetchLocks, SVNDepth depth, int entryFields, SVNURL externalParentUrl, java.lang.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, 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 void
listExternalItems(SVNRepository repository, SVNExternal[] externalItems, SVNURL externalParentUrl, SVNDepth depth, int entryFields, boolean fetchLocks, ISVNDirEntryHandler handler)
private void
listExternals(SVNRepository repository, java.util.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
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(SvnList operation, SvnWcGeneration wcGeneration) throws SVNException
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
protected SVNDirEntry run() throws SVNException
- Specified by:
run
in classSvnOperationRunner<SVNDirEntry,SvnList>
- Throws:
SVNException
-
handleDirEntry
public void handleDirEntry(SVNDirEntry dirEntry) throws SVNException
Description copied from interface:ISVNDirEntryHandler
Handles a directory entry passed.- Specified by:
handleDirEntry
in 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
-
-