public interface ISVNExternalsHandler
ISVNExternalsHandler provides interface for user defined callbacks which
are used to skip externals definitions processing in some operations.
Such handlers, if provided, are used in checkout/update, wc-to-url copying operations.| Modifier and Type | Field | Description |
|---|---|---|
static ISVNExternalsHandler |
DEFAULT |
Default implementation.
|
| Modifier and Type | Method | Description |
|---|---|---|
SVNRevision[] |
handleExternal(java.io.File externalPath,
SVNURL externalURL,
SVNRevision externalRevision,
SVNRevision externalPegRevision,
java.lang.String externalsDefinition,
SVNRevision externalsWorkingRevision) |
Handles an external definition and says whether to skip it or not.
|
static final ISVNExternalsHandler DEFAULT
handleExternal() method of this implementation always returns
[externalRevision, externalPegRevision], i.e. those external revision and peg revision
which are passed to it.SVNRevision[] handleExternal(java.io.File externalPath, SVNURL externalURL, SVNRevision externalRevision, SVNRevision externalPegRevision, java.lang.String externalsDefinition, SVNRevision externalsWorkingRevision)
SVNRevision
objects [revision, pegRevision] which will be used by the operation instead of
externalRevision and externalPegRevision respectively passed into
this handle method.
externalWorkingRevision is always SVNRevision.UNDEFINED for update/checkout operations.externalPath - path of the external to be processedexternalURL - URL of the external to be processed or null
if external is about to be removedexternalRevision - default revision to checkout/copy external at or update toexternalPegRevision - default peg revision to use for checkout/update/copy of externalexternalsDefinition - raw svn:externals property valueexternalsWorkingRevision - current external working copy revision (relevant only for wc-to-url
copying operations)SVNRevisions in form of {revision, pegRevision} or
null to skip processing
of this external