Class FSRevisionNode
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.FSRevisionNode
-
public class FSRevisionNode extends java.lang.Object
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HEADER_COPYFROM
static java.lang.String
HEADER_COPYROOT
static java.lang.String
HEADER_COUNT
static java.lang.String
HEADER_CPATH
static java.lang.String
HEADER_ID
static java.lang.String
HEADER_IS_FRESH_TXN_ROOT
static java.lang.String
HEADER_MERGE_INFO_COUNT
static java.lang.String
HEADER_MERGE_INFO_HERE
static java.lang.String
HEADER_PRED
static java.lang.String
HEADER_PROPS
static java.lang.String
HEADER_TEXT
static java.lang.String
HEADER_TYPE
-
Constructor Summary
Constructors Constructor Description FSRevisionNode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FSRepresentation
chooseDeltaBase(FSFS fsfsOwner)
static FSRevisionNode
dumpRevisionNode(FSRevisionNode revNode)
static FSRevisionNode
fromMap(java.util.Map headers)
FSRevisionNode
getChildDirNode(java.lang.String childName, FSFS fsfsOwner)
java.lang.String
getCopyFromPath()
long
getCopyFromRevision()
java.lang.String
getCopyRootPath()
long
getCopyRootRevision()
long
getCount()
java.lang.String
getCreatedPath()
long
getCreatedRevision()
protected java.util.Map
getDirContents()
java.util.Map
getDirEntries(FSFS fsfsOwner)
long
getFileLength()
java.lang.String
getFileMD5Checksum()
java.lang.String
getFileSHA1Checksum()
FSID
getId()
long
getMergeInfoCount()
FSID
getPredecessorId()
SVNProperties
getProperties(FSFS fsfsOwner)
FSRepresentation
getPropsRepresentation()
FSRepresentation
getTextRepresentation()
SVNNodeKind
getType()
boolean
hasDescendantsWithMergeInfo()
boolean
hasMergeInfo()
boolean
isFreshTxnRoot()
static void
parseRepresentationHeader(java.lang.String representation, FSRevisionNode revNode, java.lang.String txnId, boolean isData, boolean mutableRepTuncated)
void
setCopyFromPath(java.lang.String copyFromPath)
void
setCopyFromRevision(long copyFromRev)
void
setCopyRootPath(java.lang.String copyRootPath)
void
setCopyRootRevision(long copyRootRev)
void
setCount(long count)
void
setCreatedPath(java.lang.String cpath)
void
setDirContents(java.util.Map dirContents)
void
setFreshRootPredecessorId(FSID freshRootPredecessorId)
void
setHasMergeInfo(boolean hasMergeInfo)
void
setId(FSID revNodeID)
void
setIsFreshTxnRoot(boolean isFreshTxnRoot)
void
setMergeInfoCount(long mergeInfoCount)
void
setPredecessorId(FSID predRevNodeId)
void
setPropsRepresentation(FSRepresentation propsRepr)
void
setTextRepresentation(FSRepresentation textRepr)
void
setType(SVNNodeKind nodeKind)
java.lang.String
toString()
-
-
-
Field Detail
-
HEADER_ID
public static final java.lang.String HEADER_ID
- See Also:
- Constant Field Values
-
HEADER_TYPE
public static final java.lang.String HEADER_TYPE
- See Also:
- Constant Field Values
-
HEADER_COUNT
public static final java.lang.String HEADER_COUNT
- See Also:
- Constant Field Values
-
HEADER_PROPS
public static final java.lang.String HEADER_PROPS
- See Also:
- Constant Field Values
-
HEADER_TEXT
public static final java.lang.String HEADER_TEXT
- See Also:
- Constant Field Values
-
HEADER_CPATH
public static final java.lang.String HEADER_CPATH
- See Also:
- Constant Field Values
-
HEADER_PRED
public static final java.lang.String HEADER_PRED
- See Also:
- Constant Field Values
-
HEADER_COPYFROM
public static final java.lang.String HEADER_COPYFROM
- See Also:
- Constant Field Values
-
HEADER_COPYROOT
public static final java.lang.String HEADER_COPYROOT
- See Also:
- Constant Field Values
-
HEADER_IS_FRESH_TXN_ROOT
public static final java.lang.String HEADER_IS_FRESH_TXN_ROOT
- See Also:
- Constant Field Values
-
HEADER_MERGE_INFO_COUNT
public static final java.lang.String HEADER_MERGE_INFO_COUNT
- See Also:
- Constant Field Values
-
HEADER_MERGE_INFO_HERE
public static final java.lang.String HEADER_MERGE_INFO_HERE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(FSID revNodeID)
-
setType
public void setType(SVNNodeKind nodeKind)
-
setCount
public void setCount(long count)
-
setPredecessorId
public void setPredecessorId(FSID predRevNodeId)
-
setTextRepresentation
public void setTextRepresentation(FSRepresentation textRepr)
-
setPropsRepresentation
public void setPropsRepresentation(FSRepresentation propsRepr)
-
setCreatedPath
public void setCreatedPath(java.lang.String cpath)
-
setCopyFromRevision
public void setCopyFromRevision(long copyFromRev)
-
setCopyFromPath
public void setCopyFromPath(java.lang.String copyFromPath)
-
setCopyRootRevision
public void setCopyRootRevision(long copyRootRev)
-
setCopyRootPath
public void setCopyRootPath(java.lang.String copyRootPath)
-
setMergeInfoCount
public void setMergeInfoCount(long mergeInfoCount)
-
setHasMergeInfo
public void setHasMergeInfo(boolean hasMergeInfo)
-
getId
public FSID getId()
-
getType
public SVNNodeKind getType()
-
getCount
public long getCount()
-
getPredecessorId
public FSID getPredecessorId()
-
getTextRepresentation
public FSRepresentation getTextRepresentation()
-
getPropsRepresentation
public FSRepresentation getPropsRepresentation()
-
getCreatedPath
public java.lang.String getCreatedPath()
-
getCreatedRevision
public long getCreatedRevision()
-
getCopyFromRevision
public long getCopyFromRevision()
-
getCopyFromPath
public java.lang.String getCopyFromPath()
-
getCopyRootRevision
public long getCopyRootRevision()
-
getCopyRootPath
public java.lang.String getCopyRootPath()
-
dumpRevisionNode
public static FSRevisionNode dumpRevisionNode(FSRevisionNode revNode)
-
getDirContents
protected java.util.Map getDirContents()
-
setDirContents
public void setDirContents(java.util.Map dirContents)
-
hasMergeInfo
public boolean hasMergeInfo()
-
getMergeInfoCount
public long getMergeInfoCount()
-
hasDescendantsWithMergeInfo
public boolean hasDescendantsWithMergeInfo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fromMap
public static FSRevisionNode fromMap(java.util.Map headers) throws SVNException
- Throws:
SVNException
-
parseRepresentationHeader
public static void parseRepresentationHeader(java.lang.String representation, FSRevisionNode revNode, java.lang.String txnId, boolean isData, boolean mutableRepTuncated) throws SVNException
- Throws:
SVNException
-
getChildDirNode
public FSRevisionNode getChildDirNode(java.lang.String childName, FSFS fsfsOwner) throws SVNException
- Throws:
SVNException
-
getDirEntries
public java.util.Map getDirEntries(FSFS fsfsOwner) throws SVNException
- Throws:
SVNException
-
getProperties
public SVNProperties getProperties(FSFS fsfsOwner) throws SVNException
- Throws:
SVNException
-
chooseDeltaBase
public FSRepresentation chooseDeltaBase(FSFS fsfsOwner) throws SVNException
- Throws:
SVNException
-
getFileMD5Checksum
public java.lang.String getFileMD5Checksum() throws SVNException
- Throws:
SVNException
-
getFileSHA1Checksum
public java.lang.String getFileSHA1Checksum() throws SVNException
- Throws:
SVNException
-
getFileLength
public long getFileLength() throws SVNException
- Throws:
SVNException
-
setIsFreshTxnRoot
public void setIsFreshTxnRoot(boolean isFreshTxnRoot)
-
isFreshTxnRoot
public boolean isFreshTxnRoot()
-
setFreshRootPredecessorId
public void setFreshRootPredecessorId(FSID freshRootPredecessorId)
-
-