Package org.tmatesoft.svn.core.wc2
Class SvnSetWCDbVersion
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnOperation<java.lang.Void>
-
- org.tmatesoft.svn.core.wc2.SvnSetWCDbVersion
-
- All Implemented Interfaces:
ISvnOperationOptionsProvider
public class SvnSetWCDbVersion extends SvnOperation<java.lang.Void>
- Version:
- 1.8
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static intWC_DB_17_VERSIONstatic intWC_DB_18_VERSION
-
Constructor Summary
Constructors Modifier Constructor Description protectedSvnSetWCDbVersion(SvnOperationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureArgumentsAreValid()intgetVersion()protected voidinitDefaults()booleanisChangesWorkingCopy()Gets whether the operation changes working copyjava.lang.Voidrun()Executes the operation.voidsetVersion(int version)-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnOperation
addTarget, cancel, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
-
-
-
-
Field Detail
-
WC_DB_17_VERSION
public static final int WC_DB_17_VERSION
- See Also:
- Constant Field Values
-
WC_DB_18_VERSION
public static final int WC_DB_18_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SvnSetWCDbVersion
protected SvnSetWCDbVersion(SvnOperationFactory factory)
-
-
Method Detail
-
setVersion
public void setVersion(int version)
-
getVersion
public int getVersion()
-
isChangesWorkingCopy
public boolean isChangesWorkingCopy()
Description copied from class:SvnOperationGets whether the operation changes working copy- Overrides:
isChangesWorkingCopyin classSvnOperation<java.lang.Void>- Returns:
trueif the operation changes the working copy, otherwisefalse
-
run
public java.lang.Void run() throws SVNExceptionDescription copied from class:SvnOperationExecutes the operation.- Overrides:
runin classSvnOperation<java.lang.Void>- Returns:
- result depending on operation type
- Throws:
SVNException
-
initDefaults
protected void initDefaults()
- Overrides:
initDefaultsin classSvnOperation<java.lang.Void>
-
ensureArgumentsAreValid
protected void ensureArgumentsAreValid() throws SVNException- Overrides:
ensureArgumentsAreValidin classSvnOperation<java.lang.Void>- Throws:
SVNException
-
-