Alien-SVN
view release on metacpan or search on metacpan
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRepos.java view on Meta::CPAN
* @since 1.8
*/
public abstract void load(File path, InputStream dataInput,
Revision start, Revision end,
boolean ignoreUUID, boolean forceUUID,
boolean usePreCommitHook,
boolean usePostCommitHook,
String relativePath,
ReposNotifyCallback callback)
throws ClientException;
/**
* load the data of a dump into a repository
* @param path the path to the repository
* @param dataInput the data input source
* @param ignoreUUID ignore any UUID found in the input stream
* @param forceUUID set the repository UUID to any found in the
* stream
* @param usePreCommitHook use the pre-commit hook when processing commits
* @param usePostCommitHook use the post-commit hook when processing commits
* @param relativePath the directory in the repository, where the data
* in put optional.
* @param callback the target for processing messages
* @throws ClientException throw in case of problem
* @note behaves like the 1.8 vesion with the revision
* parameters set to Revision.START and Revision.HEAD.
*/
public abstract void load(File path, InputStream dataInput,
boolean ignoreUUID, boolean forceUUID, boolean usePreCommitHook,
boolean usePostCommitHook, String relativePath,
ReposNotifyCallback callback)
throws ClientException;
/**
* list all open transactions in a repository
* @param path the path to the repository
* @param receiver receives one transaction name per call
* @throws ClientException throw in case of problem
*/
public abstract void lstxns(File path, MessageReceiver receiver)
throws ClientException;
/**
* recover the filesystem backend of a repository
* @param path the path to the repository
* @return youngest revision
* @throws ClientException throw in case of problem
*/
public abstract long recover(File path, ReposNotifyCallback callback)
throws ClientException;
/**
* Take an exclusive lock on each of the listed repositories
* to prevent commits; then, while holding all the locks, call
* the action.invoke().
*
* The repositories may or may not be readable by Subversion
* while frozen, depending on implementation details of the
* repository's filesystem backend.
*
* Repositories are locked in the listed order.
* @param action describes the action to perform
* @param paths the set of repository paths
* @throws ClientException
* @since 1.8
*/
public abstract void freeze(ReposFreezeAction action,
File... paths)
throws ClientException;
/**
* remove open transaction in a repository
* @param path the path to the repository
* @param transactions the transactions to be removed
* @throws ClientException throw in case of problem
*/
public abstract void rmtxns(File path, String[] transactions)
throws ClientException;
/**
* Change the value of the revision property <code>propName</code>
* to <code>propValue</code>. By default, does not run
* pre-/post-revprop-change hook scripts.
*
* @param path The path to the repository.
* @param rev The revision for which to change a property value.
* @param propName The name of the property to change.
* @param propValue The new value to set for the property.
* @param usePreRevPropChangeHook Whether to run the
* <i>pre-revprop-change</i> hook script.
* @param usePostRevPropChangeHook Whether to run the
* <i>post-revprop-change</i> hook script.
* @throws SubversionException If a problem occurs.
*/
public abstract void setRevProp(File path, Revision rev, String propName,
String propValue, boolean usePreRevPropChangeHook,
boolean usePostRevPropChangeHook) throws SubversionException;
/**
* Verify the repository at <code>path</code> between revisions
* <code>start</code> and <code>end</code>.
*
* @param path the path to the repository
* @param start the first revision
* @param end the last revision
* @param callback the callback to recieve notifications
* @throws ClientException If an error occurred.
*/
public abstract void verify(File path, Revision start, Revision end,
ReposNotifyCallback callback)
throws ClientException;
/**
* list all locks in the repository
* @param path the path to the repository
* @param depth the depth to recurse
* @throws ClientException throw in case of problem
*/
public abstract Set<Lock> lslocks(File path, Depth depth)
throws ClientException;
/**
* remove multiple locks from the repository
* @param path the path to the repository
* @param locks the name of the locked items
* @throws ClientException throw in case of problem
*/
public abstract void rmlocks(File path, String[] locks)
throws ClientException;
/**
* upgrade the repository format
* @param path the path to the repository
* @param callback for notification
* @throws ClientException throw in case of problem
*/
public abstract void upgrade(File path, ReposNotifyCallback callback)
throws ClientException;
/**
* pack the repository
* @param path the path to the repository
* @param callback for notification
* @throws ClientException throw in case of problem
*/
public abstract void pack(File path, ReposNotifyCallback callback)
throws ClientException;
/**
* cancel the active operation
* @throws ClientException
*/
void cancelOperation() throws ClientException;
}
( run in 0.966 second using v1.01-cache-2.11-cpan-39bf76dae61 )