public class SVNAdminBasicClient extends java.lang.Object implements ISVNEventHandler
All of SVN*Client classes use inherited methods of
SVNBasicClient to access Working Copies metadata, to create
a driver object to access a repository if it's necessary, etc. In addition
SVNBasicClient provides some interface methods - such as those
that allow you to set your event handler
,
obtain run-time configuration options, and others.
UNKNOWN
NULL
Modifier | Constructor and Description |
---|---|
protected |
SVNAdminBasicClient(ISVNAuthenticationManager authManager,
ISVNOptions options) |
protected |
SVNAdminBasicClient(ISVNRepositoryPool repositoryPool,
ISVNOptions options) |
protected |
SVNAdminBasicClient(SvnOperationFactory of) |
Modifier and Type | Method and Description |
---|---|
void |
checkCancelled()
Redirects this call to the registered event handler (if any).
|
protected SVNRepository |
createRepository(SVNURL url,
java.lang.String uuid,
boolean mayReuse) |
protected void |
dispatchEvent(SVNEvent event,
double progress) |
ISVNDebugLog |
getDebugLog()
Returns the debug logger currently in use.
|
protected ISVNEventHandler |
getEventDispatcher() |
ISVNOptions |
getOptions()
Gets run-time configuration options used by this object.
|
void |
handleEvent(SVNEvent event,
double progress)
Dispatches events to the registered event handler (if any).
|
void |
setDebugLog(ISVNDebugLog log)
Sets a logger to write debug log information to.
|
void |
setEventHandler(ISVNEventHandler dispatcher)
Sets an event handler for this object.
|
void |
setOptions(ISVNOptions options)
Sets run-time global configuration options to this object.
|
protected SVNAdminBasicClient(ISVNAuthenticationManager authManager, ISVNOptions options)
protected SVNAdminBasicClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)
protected SVNAdminBasicClient(SvnOperationFactory of)
protected SVNRepository createRepository(SVNURL url, java.lang.String uuid, boolean mayReuse) throws SVNException
SVNException
protected void dispatchEvent(SVNEvent event, double progress) throws SVNException
SVNException
public void setDebugLog(ISVNDebugLog log)
log
- a debug loggerpublic ISVNOptions getOptions()
public void checkCancelled() throws SVNCancelException
checkCancelled
in interface ISVNCanceller
SVNCancelException
- if the current operation
was cancelledpublic void setEventHandler(ISVNEventHandler dispatcher)
SVNEvent
objects to provide
detailed information about actions and progress state
of version control operations performed by do*()
methods of SVN*Client classes.dispatcher
- an event handlerprotected ISVNEventHandler getEventDispatcher()
public void setOptions(ISVNOptions options)
options
- the run-time configuration optionspublic ISVNDebugLog getDebugLog()
If no debug logger has been specified by the time this call occurs,
a default one (returned by org.tmatesoft.svn.util.SVNDebugLog.getDefaultLog()
)
will be created and used.
public void handleEvent(SVNEvent event, double progress) throws SVNException
handleEvent
in interface ISVNEventHandler
event
- the current eventprogress
- progress state (from 0 to 1)SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.