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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private ISvnExternalsHandler
private boolean
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets externals handler.boolean
Gets whether or not to allow tolerating unversioned items during update.boolean
Gets whether or not externals definitions should be ignored.boolean
Gets whether or not locks should be updated on demand.void
setAllowUnversionedObstructions
(boolean allowUnversionedObstructions) Set whether or not to allow tolerating unversioned items during update.void
setExternalsHandler
(ISvnExternalsHandler externalsHandler) Sets externals handler.void
setIgnoreExternals
(boolean ignoreExternals) Sets whether or not externals definitions should be ignored.void
setUpdateLocksOnDemand
(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
-
Field Details
-
ignoreExternals
private boolean ignoreExternals -
updateLocksOnDemand
private boolean updateLocksOnDemand -
allowUnversionedObstructions
private boolean allowUnversionedObstructions -
externalsHandler
-
-
Constructor Details
-
AbstractSvnUpdate
-
-
Method Details
-
isIgnoreExternals
public boolean isIgnoreExternals()Gets whether or not externals definitions should be ignored.- Returns:
true
if 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:
true
if 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
-true
if locks should be updated on demand, otherwisefalse
-
isAllowUnversionedObstructions
public boolean isAllowUnversionedObstructions()Gets whether or not to allow tolerating unversioned items during update.- Returns:
true
if 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
-true
if 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
-