public class SVNAdminPath
extends java.lang.Object
Constructor and Description |
---|
SVNAdminPath(java.lang.String path,
java.lang.String nodeID,
int treeDepth,
boolean isDir)
Constructs a new instance of this class
that is intended for
ISVNTreeHandler . |
SVNAdminPath(java.lang.String path,
java.lang.String nodeID,
long revision)
Constructs a new instance of this class
that is intended for
ISVNHistoryHandler . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeID()
Returns a node revision id.
|
java.lang.String |
getPath()
Returns an absolute path.
|
long |
getRevision()
Returns a revision number.
|
int |
getTreeDepth()
Returns a tree depth for this path which is relative to the depth of the
SVNLookClient.doGetTree(...) target path. |
boolean |
isDir()
Says whether
path is
a directory or a file. |
public SVNAdminPath(java.lang.String path, java.lang.String nodeID, long revision)
ISVNHistoryHandler
.path
- an absolute repository pathnodeID
- a node revision id (optional)revision
- a revisionpublic SVNAdminPath(java.lang.String path, java.lang.String nodeID, int treeDepth, boolean isDir)
ISVNTreeHandler
.path
- an absolute repository pathnodeID
- a node revision id (optional)treeDepth
- the depth at which path
is located in the treeisDir
- says whether path
is
a directory or a filepublic boolean isDir()
path
is
a directory or a file. This information is
relevant only for ISVNTreeHandler
.public java.lang.String getNodeID()
ISVNTreeHandler
and ISVNHistoryHandler
.public java.lang.String getPath()
'/'
public long getRevision()
ISVNHistoryHandler
.public int getTreeDepth()
SVNLookClient.doGetTree(...)
target path.
Target path which is passed to SVNLookClient.doGetTree(...)
starts
at depth 0. Then depth is incremented with every
other segment of path.
This information is relevant only for
ISVNTreeHandler
.
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.