| java.lang.Object org.tigris.subversion.javahl.SVNAdmin
SVNAdmin | public class SVNAdmin (Code) | | version: 1.1.1 author: TMate Software Ltd. |
Inner Class :public static interface MessageReceiver | |
Method Summary | |
public void | create(String path, boolean disableFsyncCommit, boolean keepLog, String configPath, String fstype) create a subversion repository. | public void | deltify(String path, Revision start, Revision end) | public void | dispose() | public void | dump(String path, OutputInterface dataOut, OutputInterface errorOut, Revision start, Revision end, boolean incremental) | protected SVNAdminClient | getAdminClient() | public Version | getVersion() | public void | hotcopy(String path, String targetPath, boolean cleanLogs) | public void | listDBLogs(String path, MessageReceiver receiver) | public void | listUnusedDBLogs(String path, MessageReceiver receiver) | public void | load(String path, InputInterface dataInput, OutputInterface messageOutput, boolean ignoreUUID, boolean forceUUID, String relativePath) | public Lock[] | lslocks(String path) | public void | lstxns(String path, MessageReceiver receiver) | public long | recover(String path) | public void | rmlocks(String path, String[] locks) | public void | rmtxns(String path, String[] transactions) | public void | setLog(String path, Revision rev, String message, boolean bypassHooks) | public void | verify(String path, OutputInterface messageOut, Revision start, Revision end) |
BDB | final public static String BDB(Code) | | Filesystem in a Berkeley DB
|
FSFS | final public static String FSFS(Code) | | Filesystem in the filesystem
|
cppAddr | protected long cppAddr(Code) | | |
SVNAdmin | public SVNAdmin()(Code) | | |
create | public void create(String path, boolean disableFsyncCommit, boolean keepLog, String configPath, String fstype) throws ClientException(Code) | | create a subversion repository.
Parameters: path - the path where the repository will been created. Parameters: disableFsyncCommit - disable to fsync at the commit (BDB). Parameters: keepLog - keep the log files (BDB). Parameters: configPath - optional path for user configuration files. Parameters: fstype - the type of the filesystem (BDB or FSFS) throws: ClientException - throw in case of problem |
deltify | public void deltify(String path, Revision start, Revision end) throws ClientException(Code) | | deltify the revisions in the repository
Parameters: path - the path to the repository Parameters: start - start revision Parameters: end - end revision throws: ClientException - throw in case of problem |
dispose | public void dispose()(Code) | | |
dump | public void dump(String path, OutputInterface dataOut, OutputInterface errorOut, Revision start, Revision end, boolean incremental) throws ClientException(Code) | | dump the data in a repository
Parameters: path - the path to the repository Parameters: dataOut - the data will be outputed here Parameters: errorOut - the messages will be outputed here Parameters: start - the first revision to be dumped Parameters: end - the last revision to be dumped Parameters: incremental - the dump will be incremantal throws: ClientException - throw in case of problem |
getVersion | public Version getVersion()(Code) | | Version information about the underlying native libraries. |
hotcopy | public void hotcopy(String path, String targetPath, boolean cleanLogs) throws ClientException(Code) | | make a hot copy of the repository
Parameters: path - the path to the source repository Parameters: targetPath - the path to the target repository Parameters: cleanLogs - clean the unused log files in the sourcerepository throws: ClientException - throw in case of problem |
listDBLogs | public void listDBLogs(String path, MessageReceiver receiver) throws ClientException(Code) | | list all logfiles (BDB) in use or not)
Parameters: path - the path to the repository Parameters: receiver - interface to receive the logfile names throws: ClientException - throw in case of problem |
listUnusedDBLogs | public void listUnusedDBLogs(String path, MessageReceiver receiver) throws ClientException(Code) | | list unused logfiles
Parameters: path - the path to the repository Parameters: receiver - interface to receive the logfile names throws: ClientException - throw in case of problem |
load | public void load(String path, InputInterface dataInput, OutputInterface messageOutput, boolean ignoreUUID, boolean forceUUID, String relativePath) throws ClientException(Code) | | load the data of a dump into a repository,
Parameters: path - the path to the repository Parameters: dataInput - the data input source Parameters: messageOutput - the target for processing messages Parameters: ignoreUUID - ignore any UUID found in the input stream Parameters: forceUUID - set the repository UUID to any found in thestream Parameters: relativePath - the directory in the repository, where the datain put optional. throws: ClientException - throw in case of problem |
lstxns | public void lstxns(String path, MessageReceiver receiver) throws ClientException(Code) | | list all open transactions in a repository
Parameters: path - the path to the repository Parameters: receiver - receives one transaction name per call throws: ClientException - throw in case of problem |
recover | public long recover(String path) throws ClientException(Code) | | recover the berkeley db of a repository, returns youngest revision
Parameters: path - the path to the repository throws: ClientException - throw in case of problem |
rmlocks | public void rmlocks(String path, String[] locks) throws ClientException(Code) | | remove multiple locks from the repository
Parameters: path - the path to the repository Parameters: locks - the name of the locked items throws: ClientException - throw in case of problem since: 1.2 |
rmtxns | public void rmtxns(String path, String[] transactions) throws ClientException(Code) | | remove open transaction in a repository
Parameters: path - the path to the repository Parameters: transactions - the transactions to be removed throws: ClientException - throw in case of problem |
setLog | public void setLog(String path, Revision rev, String message, boolean bypassHooks) throws ClientException(Code) | | set the log message of a revision
Parameters: path - the path to the repository Parameters: rev - the revision to be changed Parameters: message - the message to be set Parameters: bypassHooks - if to bypass all repository hooks throws: ClientException - throw in case of problem |
verify | public void verify(String path, OutputInterface messageOut, Revision start, Revision end) throws ClientException(Code) | | verify the repository
Parameters: path - the path to the repository Parameters: messageOut - the receiver of all messages Parameters: start - the first revision Parameters: end - the last revision throws: ClientException - throw in case of problem |
|
|