Class CDOBranchUtil
java.lang.Object
org.eclipse.emf.cdo.spi.common.branch.CDOBranchUtil
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CDOBranch
adjustBranch
(CDOBranch branch, CDOBranchManager branchManager) static CDOBranchPoint
adjustBranchPoint
(CDOBranchPoint branchPoint, CDOBranchManager branchManager) static CDOBranchPoint
adjustTime
(CDOBranchPoint branchPoint, long deltaMillis) static CDOBranchPoint
copyBranchPoint
(CDOBranchPoint source) static CDOBranchVersion
copyBranchVersion
(CDOBranchVersion source) static InternalCDOBranchManager
static CDOBranchPointRange
createRange
(CDOBranchPoint startPoint, CDOBranchPoint endPoint) static void
forEachBranchInTree
(CDOBranch root, Consumer<CDOBranch> consumer) static void
forEachBranchPoint
(CDOBranchPoint branchPoint, boolean considerBranchBases, Predicate<CDOBranchPoint> consumer) static CDOBranchPoint
getAncestor
(CDOBranchPoint point1, CDOBranchPoint point2) static CDOBranchPoint[]
getPath
(CDOBranchPoint point) static boolean
isContainedBy
(CDOBranchPoint contained, CDOBranchPoint container) Returnstrue
if the first given branch point "contained" is reachable from the second given branch point "container" by following thebranch bases
upwards,false
otherwise.static CDOBranchPoint
normalizeBranchPoint
(CDOBranch branch, long timeStamp) static CDOBranchPoint
normalizeBranchPoint
(CDOBranchPoint branchPoint) static CDOBranchPoint
static CDOBranchPointRange
static CDOBranchPointRange
static String
sanitizePathName
(String pathName) static void
writeBranchPointOrNull
(CDODataOutput out, CDOBranchPoint point) static void
writeRange
(CDODataOutput out, CDOBranchPointRange range) static void
writeRangeOrNull
(CDODataOutput out, CDOBranchPointRange range)
-
Field Details
-
AUTO_BRANCH_POINT
- Since:
- 4.6
-
-
Method Details
-
createBranchManager
-
createRange
-
writeRange
- Throws:
IOException
- Since:
- 4.6
-
readRange
- Throws:
IOException
- Since:
- 4.6
-
writeRangeOrNull
public static void writeRangeOrNull(CDODataOutput out, CDOBranchPointRange range) throws IOException - Throws:
IOException
- Since:
- 4.6
-
readRangeOrNull
- Throws:
IOException
- Since:
- 4.6
-
writeBranchPointOrNull
public static void writeBranchPointOrNull(CDODataOutput out, CDOBranchPoint point) throws IOException - Throws:
IOException
- Since:
- 4.6
-
readBranchPointOrNull
- Throws:
IOException
- Since:
- 4.6
-
copyBranchPoint
-
copyBranchVersion
-
adjustTime
- Since:
- 4.23
-
adjustBranch
- Since:
- 4.14
-
adjustBranchPoint
public static CDOBranchPoint adjustBranchPoint(CDOBranchPoint branchPoint, CDOBranchManager branchManager) - Since:
- 4.4
-
normalizeBranchPoint
- Since:
- 4.4
-
normalizeBranchPoint
- Since:
- 4.2
-
isContainedBy
Returnstrue
if the first given branch point "contained" is reachable from the second given branch point "container" by following thebranch bases
upwards,false
otherwise. -
getAncestor
-
forEachBranchPoint
public static void forEachBranchPoint(CDOBranchPoint branchPoint, boolean considerBranchBases, Predicate<CDOBranchPoint> consumer) - Since:
- 4.15
-
forEachBranchInTree
- Since:
- 4.15
-
getPath
-
sanitizePathName
- Since:
- 4.12
-