Package org.tmatesoft.svn.core.wc2
Class AbstractSvnUpdate<V>
java.lang.Object
org.tmatesoft.svn.core.wc2.SvnOperation<V>
org.tmatesoft.svn.core.wc2.AbstractSvnUpdate<V>
- All Implemented Interfaces:
ISvnOperationOptionsProvider
- Direct Known Subclasses:
SvnCheckout,SvnExport,SvnSwitch,SvnUpdate
Provides methods allowing to check out, update, switch and
relocate a working copy as well as export an unversioned directory or file
from a repository.
- Version:
- 1.7
- Author:
- TMate Software Ltd.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets externals handler.booleanGets whether or not to allow tolerating unversioned items during update.booleanGets whether or not externals definitions should be ignored.booleanGets whether or not locks should be updated on demand.voidsetAllowUnversionedObstructions(boolean allowUnversionedObstructions) Set whether or not to allow tolerating unversioned items during update.voidsetExternalsHandler(ISvnExternalsHandler externalsHandler) Sets externals handler.voidsetIgnoreExternals(boolean ignoreExternals) Sets whether or not externals definitions should be ignored.voidsetUpdateLocksOnDemand(boolean updateLocksOnDemand) Sets whether or not locks should be updated on demand.Methods inherited from class org.tmatesoft.svn.core.wc2.SvnOperation
addTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, initDefaults, isCancelled, isChangesWorkingCopy, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
-
Constructor Details
-
AbstractSvnUpdate
-
-
Method Details
-
isIgnoreExternals
public boolean isIgnoreExternals()Gets whether or not externals definitions should be ignored.- Returns:
trueif externals definitions should be ignored, otherwisefalse
-
setIgnoreExternals
public void setIgnoreExternals(boolean ignoreExternals) Sets whether or not externals definitions should be ignored.- Parameters:
ignoreExternals- code>true if externals definitions should be ignored, otherwisefalse
-
isUpdateLocksOnDemand
public boolean isUpdateLocksOnDemand()Gets whether or not locks should be updated on demand. Only relevant for 1.6 working copies.- Returns:
trueif locks should be updated on demand, otherwisefalse
-
setUpdateLocksOnDemand
public void setUpdateLocksOnDemand(boolean updateLocksOnDemand) Sets whether or not locks should be updated on demand. Only relevant for 1.6 working copies.- Parameters:
updateLocksOnDemand-trueif locks should be updated on demand, otherwisefalse
-
isAllowUnversionedObstructions
public boolean isAllowUnversionedObstructions()Gets whether or not to allow tolerating unversioned items during update.- Returns:
trueif allow tolerating unversioned items during update, otherwisefalse
-
setAllowUnversionedObstructions
public void setAllowUnversionedObstructions(boolean allowUnversionedObstructions) Set whether or not to allow tolerating unversioned items during update.- Parameters:
allowUnversionedObstructions-trueif allow tolerating unversioned items during update, otherwisefalse
-
getExternalsHandler
Gets externals handler.- Returns:
- externals handler
-
setExternalsHandler
Sets externals handler.- Parameters:
externalsHandler- object to handle the externals
-