org.tmatesoft.svn.core.wc2
Class SvnList

java.lang.Object
  extended by org.tmatesoft.svn.core.wc2.SvnOperation<T>
      extended by org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNDirEntry>
          extended by org.tmatesoft.svn.core.wc2.SvnList
All Implemented Interfaces:
ISvnObjectReceiver<SVNDirEntry>, ISvnOperationOptionsProvider

public class SvnList
extends SvnReceivingOperation<SVNDirEntry>

Represents list operation. Reports the directory entry, and possibly children, for target at revision. The actual node revision selected is determined by the target's path as it exists in its pegRevision. If target's pegRevision is invalid, then it defaults to SVNRevision.HEAD.

If depth is SVNDepth.EMPTY, lists just target itself. If depth is SVNDepth.FILES, lists target and its file entries. If SVNDepth.IMMEDIATES, lists its immediate file and directory entries. If SVNDepth.INFINITY, lists file entries and recurses (with SVNDepth.INFINITY) on directory entries.

Note: this routine requires repository access.

SvnOperation.run() method returns an array of SVNDirEntry objects. It throws SVNException in the following cases: