org.tmatesoft.svn.core.wc2
Class SvnUpgrade

java.lang.Object
  extended by org.tmatesoft.svn.core.wc2.SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>
      extended by org.tmatesoft.svn.core.wc2.SvnUpgrade
All Implemented Interfaces:
ISvnOperationOptionsProvider

public class SvnUpgrade
extends SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>

Represents operation for upgrading the metadata storage format for a working copy. Target should represent working copy path to be upgraded.

SvnOperation.run() returns SvnWcGeneration of resulting working copy. SvnOperation.run() throws SVNException if the following is true:

Since:
1.7 (SVN 1.7)

Constructor Summary
protected SvnUpgrade(SvnOperationFactory factory)
           
 
Method Summary
 boolean isChangesWorkingCopy()
          Gets whether the operation changes working copy
 
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, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, initDefaults, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnUpgrade

protected SvnUpgrade(SvnOperationFactory factory)
Method Detail

isChangesWorkingCopy

public boolean isChangesWorkingCopy()
Gets whether the operation changes working copy

Overrides:
isChangesWorkingCopy in class SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>
Returns:
true if the operation changes the working copy, otherwise false