ISvnOperationOptionsProviderpublic class SvnRelocate extends SvnOperation<SVNURL>
target's URL with a new one.
When a repository root location or a URL schema is changed the fromUrl of
the working copy which starts with fromUrl should be
substituted for a new URL beginning - toUrl, or full target's URL
should be substituted with toUrl.
| Modifier | Constructor | Description |
|---|---|---|
protected |
SvnRelocate(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
SVNURL |
getFromUrl() |
Returns the old beginning part of the
target's repository URL that should be overwritten. |
SVNURL |
getToUrl() |
Gets the new beginning part for the repository location or full repository location
that will overwrite
target's repository URL. |
protected void |
initDefaults() |
|
boolean |
isChangesWorkingCopy() |
Gets whether the operation changes working copy
|
boolean |
isIgnoreExternals() |
Returns whether to ignore externals definitions.
|
boolean |
isRecursive() |
Returns whether to relocate entire tree of
target if it is a directory. |
void |
setFromUrl(SVNURL fromUrl) |
Sets the old beginning part of the
target's repository URL that should be overwritten. |
void |
setIgnoreExternals(boolean ignoreExternals) |
Sets whether to ignore externals definitions.
|
void |
setRecursive(boolean recursive) |
Sets whether to relocate entire tree of
toUrl if it is a directory. |
void |
setToUrl(SVNURL toUrl) |
Sets the new beginning part for the repository location or full repository location
that will overwrite
target's repository URL. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalModeprotected SvnRelocate(SvnOperationFactory factory)
public SVNURL getFromUrl()
target's repository URL that should be overwritten.
Optional parameter, if null full target's repository URL should be overwritten.targetpublic void setFromUrl(SVNURL fromUrl)
target's repository URL that should be overwritten.
Optional parameter, if null full target's repository URL should be overwritten.fromUrl - old beginning part of the repository URL of the targetpublic SVNURL getToUrl()
target's repository URL.
If fromUrl is null full URL should be overwritten,
otherwise only beginning part should be overwritten.targetpublic void setToUrl(SVNURL toUrl)
target's repository URL.
If fromUrl is null full URL should be overwritten,
otherwise only beginning part should be overwritten.toUrl - new repository path or part of repository path of the targetpublic boolean isIgnoreExternals()
true if externals definitions should be ignored, otherwise falsepublic void setIgnoreExternals(boolean ignoreExternals)
ignoreExternals - true if externals definitions should be ignored, otherwise falsepublic void setRecursive(boolean recursive)
toUrl if it is a directory.
Only relevant for 1.6 working copies.recursive - true if the entire tree of toUrl directory should be relocated, otherwise falsepublic boolean isRecursive()
target if it is a directory.
Only relevant for 1.6 working copies.true if the entire tree of target directory should be relocated, otherwise falseprotected void initDefaults()
initDefaults in class SvnOperation<SVNURL>public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<SVNURL>true if the operation changes the working copy, otherwise false