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
public abstract class AbstractSvnUpdate<V> extends SvnOperation<V>
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:
SvnCheckout
,SvnExport
,SvnUpdate
,SvnSwitch
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
allowUnversionedObstructions
private ISvnExternalsHandler
externalsHandler
private boolean
ignoreExternals
private boolean
updateLocksOnDemand
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSvnUpdate(SvnOperationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISvnExternalsHandler
getExternalsHandler()
Gets externals handler.boolean
isAllowUnversionedObstructions()
Gets whether or not to allow tolerating unversioned items during update.boolean
isIgnoreExternals()
Gets whether or not externals definitions should be ignored.boolean
isUpdateLocksOnDemand()
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 Detail
-
ignoreExternals
private boolean ignoreExternals
-
updateLocksOnDemand
private boolean updateLocksOnDemand
-
allowUnversionedObstructions
private boolean allowUnversionedObstructions
-
externalsHandler
private ISvnExternalsHandler externalsHandler
-
-
Constructor Detail
-
AbstractSvnUpdate
protected AbstractSvnUpdate(SvnOperationFactory factory)
-
-
Method Detail
-
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
public ISvnExternalsHandler getExternalsHandler()
Gets externals handler.- Returns:
- externals handler
-
setExternalsHandler
public void setExternalsHandler(ISvnExternalsHandler externalsHandler)
Sets externals handler.- Parameters:
externalsHandler
- object to handle the externals
-
-