Class SVNCommitUtil
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNCommitUtil
-
public class SVNCommitUtil extends java.lang.Object- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.ComparatorFILE_COMPARATOR
-
Constructor Summary
Constructors Constructor Description SVNCommitUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SVNWCAccesscreateCommitWCAccess(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Collection relativePaths, SVNStatusClient16 statusClient)static SVNWCAccess[]createCommitWCAccess2(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Map relativePathsMap, SVNStatusClient16 statusClient)static voiddriveCommitEditor(ISVNCommitPathHandler handler, java.util.Collection paths, ISVNEditor editor, long revision)static voidfilterOutFileExternals(java.util.Collection explicitPaths, java.util.Map commitables, SVNWCAccess baseAccess)static voidharvestCommitables(java.util.Map commitables, SVNAdminArea dir, java.io.File path, SVNEntry parentEntry, SVNEntry entry, java.lang.String url, java.lang.String copyFromURL, boolean copyMode, boolean addsOnly, boolean justLocked, java.util.Map lockTokens, SVNDepth depth, boolean forcedRecursion, java.util.Collection changelists, ISVNCommitParameters params, java.util.Map pathsToExternalsProperties)static SVNCommitItem[]harvestCommitables(SVNWCAccess baseAccess, java.util.Collection paths, java.util.Map lockTokens, boolean justLocked, SVNDepth depth, boolean force, java.util.Collection changelists, ISVNCommitParameters params)static SVNURLtranslateCommitables(SVNCommitItem[] items, java.util.Map decodedPaths)static java.util.MaptranslateLockTokens(java.util.Map lockTokens, java.lang.String baseURL)static java.lang.StringvalidateCommitMessage(java.lang.String message)
-
-
-
Method Detail
-
driveCommitEditor
public static void driveCommitEditor(ISVNCommitPathHandler handler, java.util.Collection paths, ISVNEditor editor, long revision) throws SVNException
- Throws:
SVNException
-
createCommitWCAccess
public static SVNWCAccess createCommitWCAccess(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Collection relativePaths, SVNStatusClient16 statusClient) throws SVNException
- Throws:
SVNException
-
createCommitWCAccess2
public static SVNWCAccess[] createCommitWCAccess2(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Map relativePathsMap, SVNStatusClient16 statusClient) throws SVNException
- Throws:
SVNException
-
harvestCommitables
public static SVNCommitItem[] harvestCommitables(SVNWCAccess baseAccess, java.util.Collection paths, java.util.Map lockTokens, boolean justLocked, SVNDepth depth, boolean force, java.util.Collection changelists, ISVNCommitParameters params) throws SVNException
- Throws:
SVNException
-
filterOutFileExternals
public static void filterOutFileExternals(java.util.Collection explicitPaths, java.util.Map commitables, SVNWCAccess baseAccess) throws SVNException- Throws:
SVNException
-
translateCommitables
public static SVNURL translateCommitables(SVNCommitItem[] items, java.util.Map decodedPaths) throws SVNException
- Throws:
SVNException
-
translateLockTokens
public static java.util.Map translateLockTokens(java.util.Map lockTokens, java.lang.String baseURL)
-
harvestCommitables
public static void harvestCommitables(java.util.Map commitables, SVNAdminArea dir, java.io.File path, SVNEntry parentEntry, SVNEntry entry, java.lang.String url, java.lang.String copyFromURL, boolean copyMode, boolean addsOnly, boolean justLocked, java.util.Map lockTokens, SVNDepth depth, boolean forcedRecursion, java.util.Collection changelists, ISVNCommitParameters params, java.util.Map pathsToExternalsProperties) throws SVNException- Throws:
SVNException
-
validateCommitMessage
public static java.lang.String validateCommitMessage(java.lang.String message)
-
-