Class FSRevisionNode
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.FSRevisionNode
-
public class FSRevisionNode extends java.lang.Object- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringHEADER_COPYFROMstatic java.lang.StringHEADER_COPYROOTstatic java.lang.StringHEADER_COUNTstatic java.lang.StringHEADER_CPATHstatic java.lang.StringHEADER_IDstatic java.lang.StringHEADER_IS_FRESH_TXN_ROOTstatic java.lang.StringHEADER_MERGE_INFO_COUNTstatic java.lang.StringHEADER_MERGE_INFO_HEREstatic java.lang.StringHEADER_PREDstatic java.lang.StringHEADER_PROPSstatic java.lang.StringHEADER_TEXTstatic java.lang.StringHEADER_TYPEprivate java.lang.StringmyCopyFromPathprivate longmyCopyFromRevisionprivate java.lang.StringmyCopyRootPathprivate longmyCopyRootRevisionprivate longmyCountprivate java.lang.StringmyCreatedPathprivate java.util.MapmyDirContentsprivate FSIDmyFreshRootPredecessorIdprivate booleanmyHasMergeInfoprivate FSIDmyIdprivate booleanmyIsFreshTxnRootprivate longmyMergeInfoCountprivate FSIDmyPredecessorIdprivate FSRepresentationmyPropsRepresentationprivate FSRepresentationmyTextRepresentationprivate SVNNodeKindmyType
-
Constructor Summary
Constructors Constructor Description FSRevisionNode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FSRepresentationchooseDeltaBase(FSFS fsfsOwner)static FSRevisionNodedumpRevisionNode(FSRevisionNode revNode)static FSRevisionNodefromMap(java.util.Map headers)FSRevisionNodegetChildDirNode(java.lang.String childName, FSFS fsfsOwner)java.lang.StringgetCopyFromPath()longgetCopyFromRevision()java.lang.StringgetCopyRootPath()longgetCopyRootRevision()longgetCount()java.lang.StringgetCreatedPath()longgetCreatedRevision()protected java.util.MapgetDirContents()java.util.MapgetDirEntries(FSFS fsfsOwner)longgetFileLength()java.lang.StringgetFileMD5Checksum()java.lang.StringgetFileSHA1Checksum()FSIDgetId()longgetMergeInfoCount()FSIDgetPredecessorId()SVNPropertiesgetProperties(FSFS fsfsOwner)FSRepresentationgetPropsRepresentation()FSRepresentationgetTextRepresentation()SVNNodeKindgetType()booleanhasDescendantsWithMergeInfo()booleanhasMergeInfo()booleanisFreshTxnRoot()private static voidparseCopyFrom(java.lang.String copyfrom, FSRevisionNode revNode)private static voidparseCopyRoot(java.lang.String copyroot, FSRevisionNode revNode)static voidparseRepresentationHeader(java.lang.String representation, FSRevisionNode revNode, java.lang.String txnId, boolean isData, boolean mutableRepTuncated)voidsetCopyFromPath(java.lang.String copyFromPath)voidsetCopyFromRevision(long copyFromRev)voidsetCopyRootPath(java.lang.String copyRootPath)voidsetCopyRootRevision(long copyRootRev)voidsetCount(long count)voidsetCreatedPath(java.lang.String cpath)voidsetDirContents(java.util.Map dirContents)voidsetFreshRootPredecessorId(FSID freshRootPredecessorId)voidsetHasMergeInfo(boolean hasMergeInfo)voidsetId(FSID revNodeID)voidsetIsFreshTxnRoot(boolean isFreshTxnRoot)voidsetMergeInfoCount(long mergeInfoCount)voidsetPredecessorId(FSID predRevNodeId)voidsetPropsRepresentation(FSRepresentation propsRepr)voidsetTextRepresentation(FSRepresentation textRepr)voidsetType(SVNNodeKind nodeKind)java.lang.StringtoString()
-
-
-
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
-
myId
private FSID myId
-
myType
private SVNNodeKind myType
-
myCount
private long myCount
-
myPredecessorId
private FSID myPredecessorId
-
myTextRepresentation
private FSRepresentation myTextRepresentation
-
myPropsRepresentation
private FSRepresentation myPropsRepresentation
-
myCreatedPath
private java.lang.String myCreatedPath
-
myCopyFromRevision
private long myCopyFromRevision
-
myCopyFromPath
private java.lang.String myCopyFromPath
-
myCopyRootRevision
private long myCopyRootRevision
-
myCopyRootPath
private java.lang.String myCopyRootPath
-
myDirContents
private java.util.Map myDirContents
-
myIsFreshTxnRoot
private boolean myIsFreshTxnRoot
-
myFreshRootPredecessorId
private FSID myFreshRootPredecessorId
-
myMergeInfoCount
private long myMergeInfoCount
-
myHasMergeInfo
private boolean myHasMergeInfo
-
-
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:
toStringin 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
-
parseCopyFrom
private static void parseCopyFrom(java.lang.String copyfrom, FSRevisionNode revNode) throws SVNException- Throws:
SVNException
-
parseCopyRoot
private static void parseCopyRoot(java.lang.String copyroot, FSRevisionNode revNode) 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)
-
-