|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.svn.core.wc.admin.SVNAdminBasicClient
public class SVNAdminBasicClient
The SVNBasicClient is the base class of all SVN*Client classes that provides a common interface and realization.
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.
| Field Summary |
|---|
| Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler |
|---|
UNKNOWN |
| Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller |
|---|
NULL |
| Constructor Summary | |
|---|---|
protected |
SVNAdminBasicClient(ISVNAuthenticationManager authManager,
ISVNOptions options)
|
protected |
SVNAdminBasicClient(ISVNRepositoryPool repositoryPool,
ISVNOptions options)
|
| Method Summary | |
|---|---|
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 |
setIgnoreExternals(boolean ignore)
Sets externals definitions to be ignored or not during operations. |
void |
setOptions(ISVNOptions options)
Sets run-time global configuration options to this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SVNAdminBasicClient(ISVNAuthenticationManager authManager,
ISVNOptions options)
protected SVNAdminBasicClient(ISVNRepositoryPool repositoryPool,
ISVNOptions options)
| Method Detail |
|---|
protected SVNRepository createRepository(SVNURL url,
java.lang.String uuid,
boolean mayReuse)
throws SVNException
SVNException
protected void dispatchEvent(SVNEvent event,
double progress)
throws SVNException
SVNExceptionpublic void setDebugLog(ISVNDebugLog log)
log - a debug loggerpublic ISVNOptions getOptions()
public void checkCancelled()
throws SVNCancelException
checkCancelled in interface ISVNCancellerSVNCancelException - 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 setIgnoreExternals(boolean ignore)
For example, if external definitions are set to be ignored then a checkout operation won't fetch them into a Working Copy.
ignore - true to ignore
externals definitions, false -
not to#isIgnoreExternals()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 ISVNEventHandlerevent - the current eventprogress - progress state (from 0 to 1)
SVNException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||