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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CDOBranchadjustBranch(CDOBranch branch, CDOBranchManager branchManager) static CDOBranchPointadjustBranchPoint(CDOBranchPoint branchPoint, CDOBranchManager branchManager) static CDOBranchPointcopyBranchPoint(CDOBranchPoint source) static CDOBranchVersioncopyBranchVersion(CDOBranchVersion source) static InternalCDOBranchManagerstatic CDOBranchPointRangecreateRange(CDOBranchPoint startPoint, CDOBranchPoint endPoint) static voidforEachBranchInTree(CDOBranch root, Consumer<CDOBranch> consumer) static voidforEachBranchPoint(CDOBranchPoint branchPoint, boolean considerBranchBases, Predicate<CDOBranchPoint> consumer) static CDOBranchPointgetAncestor(CDOBranchPoint point1, CDOBranchPoint point2) static CDOBranchPoint[]getPath(CDOBranchPoint point) static booleanisContainedBy(CDOBranchPoint contained, CDOBranchPoint container) Returnstrueif the first given branch point "contained" is reachable from the second given branch point "container" by following thebranch basesupwards,falseotherwise.static CDOBranchPointnormalizeBranchPoint(CDOBranch branch, long timeStamp) static CDOBranchPointnormalizeBranchPoint(CDOBranchPoint branchPoint) static CDOBranchPointstatic CDOBranchPointRangestatic CDOBranchPointRangestatic StringsanitizePathName(String pathName) static voidwriteBranchPointOrNull(CDODataOutput out, CDOBranchPoint point) static voidwriteRange(CDODataOutput out, CDOBranchPointRange range) static voidwriteRangeOrNull(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
-
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
Returnstrueif the first given branch point "contained" is reachable from the second given branch point "container" by following thebranch basesupwards,falseotherwise. -
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
-