|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnOperation<T> org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNDirEntry> org.tmatesoft.svn.core.wc2.SvnList
public class SvnList
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
.
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:
SVNErrorCode.FS_NOT_FOUND
error
code - if url
is non-existent in the repository
Constructor Summary | |
---|---|
protected |
SvnList(SvnOperationFactory factory)
|
Method Summary | |
---|---|
int |
getEntryFields()
Returns entry fields whose controls which fields in the SVNDirEntry
are filled in. |
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy |
boolean |
isFetchLocks()
Returns whether to fetch locks information |
void |
setEntryFields(int entryFields)
Sets entry fields whose controls which fields in the SVNDirEntry
are filled in. |
void |
setFetchLocks(boolean isFetchLocks)
Sets whether to fetch locks information |
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnReceivingOperation |
---|
first, getReceiver, initDefaults, last, receive, run, setReceiver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SvnList(SvnOperationFactory factory)
Method Detail |
---|
public int getEntryFields()
SVNDirEntry
are filled in. To have them totally filled in use
SVNDirEntry.DIRENT_ALL
, otherwise simply bitwise OR together the
combination of fields you care about.
public void setEntryFields(int entryFields)
SVNDirEntry
are filled in. To have them totally filled in use
SVNDirEntry.DIRENT_ALL
, otherwise simply bitwise OR together the
combination of fields you care about.
entryFields
- entry fields flagspublic boolean isFetchLocks()
true
if the lock information should be fetched, otherwise false
public void setFetchLocks(boolean isFetchLocks)
isFetchLocks
- true
if the lock information should be fetched, otherwise false
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<SVNDirEntry>
true
if the operation changes the working copy, otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |