Package org.tmatesoft.svn.core.wc2.hooks
Interface ISvnExternalsHandler
-
public interface ISvnExternalsHandlerImplementing this interface allows handle an external definition and control whether to skip externals definitions processing in some operations. Such handlers, if provided, are used in update, wc-to-url copying operations.- Version:
- 1.7
- Author:
- TMate Software Ltd.
- See Also:
AbstractSvnUpdate,SvnRemoteCopy
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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.
-
-
-
Method Detail
-
handleExternal
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. This method receives external definition parameters and returns whethernullto indicate that this external definition must be excluded from processing (for example, not updated during an update), or a non-nullarray. This array should contain at least twoSVNRevisionobjects [revision, pegRevision] which will be used by the operation instead ofexternalRevisionandexternalPegRevisionrespectively passed into this handle method.externalWorkingRevisionis alwaysSVNRevision.UNDEFINEDfor update/checkout operations.- Parameters:
externalPath- path of the external to be processedexternalURL- URL of the external to be processed ornullif 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)- Returns:
- array of
SVNRevisions in form of {revision, pegRevision} ornullto skip processing of this external
-
-