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
-
-
Field Summary
Fields Modifier and Type Field Description private int
version
static int
WC_DB_17_VERSION
static int
WC_DB_18_VERSION
-
Constructor Summary
Constructors Modifier Constructor Description protected
SvnSetWCDbVersion(SvnOperationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
ensureArgumentsAreValid()
int
getVersion()
protected void
initDefaults()
boolean
isChangesWorkingCopy()
Gets whether the operation changes working copyjava.lang.Void
run()
Executes the operation.void
setVersion(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
-
version
private int version
-
-
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:SvnOperation
Gets whether the operation changes working copy- Overrides:
isChangesWorkingCopy
in classSvnOperation<java.lang.Void>
- Returns:
true
if the operation changes the working copy, otherwisefalse
-
run
public java.lang.Void run() throws SVNException
Description copied from class:SvnOperation
Executes the operation.- Overrides:
run
in classSvnOperation<java.lang.Void>
- Returns:
- result depending on operation type
- Throws:
SVNException
-
initDefaults
protected void initDefaults()
- Overrides:
initDefaults
in classSvnOperation<java.lang.Void>
-
ensureArgumentsAreValid
protected void ensureArgumentsAreValid() throws SVNException
- Overrides:
ensureArgumentsAreValid
in classSvnOperation<java.lang.Void>
- Throws:
SVNException
-
-