Class CDOBranchUtil
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.common.branch.CDOBranchUtil
-
public final class CDOBranchUtil extends java.lang.Object
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 Modifier and Type Field Description static CDOBranchPoint
AUTO_BRANCH_POINT
-
Method Summary
-
-
-
Field Detail
-
AUTO_BRANCH_POINT
public static final CDOBranchPoint AUTO_BRANCH_POINT
- Since:
- 4.6
-
-
Method Detail
-
createBranchManager
public static InternalCDOBranchManager createBranchManager()
-
createRange
public static CDOBranchPointRange createRange(CDOBranchPoint startPoint, CDOBranchPoint endPoint)
-
writeRange
public static void writeRange(CDODataOutput out, CDOBranchPointRange range) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
readRange
public static CDOBranchPointRange readRange(CDODataInput in) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
writeRangeOrNull
public static void writeRangeOrNull(CDODataOutput out, CDOBranchPointRange range) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
readRangeOrNull
public static CDOBranchPointRange readRangeOrNull(CDODataInput in) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
writeBranchPointOrNull
public static void writeBranchPointOrNull(CDODataOutput out, CDOBranchPoint point) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
readBranchPointOrNull
public static CDOBranchPoint readBranchPointOrNull(CDODataInput in) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.6
-
copyBranchPoint
public static CDOBranchPoint copyBranchPoint(CDOBranchPoint source)
-
copyBranchVersion
public static CDOBranchVersion copyBranchVersion(CDOBranchVersion source)
-
adjustBranch
public static CDOBranch adjustBranch(CDOBranch branch, CDOBranchManager branchManager)
- Since:
- 4.14
-
adjustBranchPoint
public static CDOBranchPoint adjustBranchPoint(CDOBranchPoint branchPoint, CDOBranchManager branchManager)
- Since:
- 4.4
-
normalizeBranchPoint
public static CDOBranchPoint normalizeBranchPoint(CDOBranchPoint branchPoint)
- Since:
- 4.4
-
normalizeBranchPoint
public static CDOBranchPoint normalizeBranchPoint(CDOBranch branch, long timeStamp)
- Since:
- 4.2
-
isContainedBy
public static boolean isContainedBy(CDOBranchPoint contained, CDOBranchPoint container)
-
getAncestor
public static CDOBranchPoint getAncestor(CDOBranchPoint point1, CDOBranchPoint point2)
-
getPath
public static CDOBranchPoint[] getPath(CDOBranchPoint point)
-
sanitizePathName
public static java.lang.String sanitizePathName(java.lang.String pathName)
- Since:
- 4.12
-
-