public class SvnLogMergeInfo extends SvnReceivingOperation<SVNLogEntry>
SVNLogEntry
object with the revisions merged from
mergeSource
(as of mergeSource
's pegRevision
) into
target
(as of target
's pegRevision
).
Target
can be either URL or working copy path.
If discoverChangedPaths
is set, then the changed paths
Map
argument will be passed to a constructor of
SVNLogEntry
on each invocation of handler
.
If
revisionProperties
is null
, retrieves all revision properties;
else, retrieves only the revision properties named in the array (i.e. retrieves none if the array is empty).
Note: this operation requires repository access.
SvnOperation.run()
throws SVNException
in the following cases:
SVNErrorCode.UNSUPPORTED_FEATURE
error code - if the server doesn't support retrieval of
mergeinfo
SVNLogEntry
Modifier | Constructor and Description |
---|---|
protected |
SvnLogMergeInfo(SvnOperationFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
addRevisionRange(SvnRevisionRange range) |
protected void |
ensureArgumentsAreValid() |
java.util.Collection<SvnRevisionRange> |
getRanges() |
java.lang.String[] |
getRevisionProperties()
Returns all revision ranges for those log should be reported.
|
SvnTarget |
getSource()
Returns merge source, can represent URL or working copy path.
|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy
|
boolean |
isDiscoverChangedPaths()
Returns whether to report of all changed paths for every revision being processed
If
true then the changed paths Map argument will be passed to a constructor of
SVNLogEntry . |
boolean |
isFindMerged()
Returns whether to report merged revisions or eligible for merge revisions
|
void |
setDiscoverChangedPaths(boolean discoverChangedPaths)
Sets whether to report of all changed paths for every revision being processed
If
true then the changed paths Map argument will be passed to a constructor of
SVNLogEntry . |
void |
setFindMerged(boolean findMerged)
Sets whether to report merged revisions or eligible for merge revisions
|
void |
setRevisionProperties(java.lang.String[] revisionProperties)
Sets all revision ranges for those log should be reported.
|
void |
setSource(SvnTarget source)
Returns merge source, can represent URL or working copy path.
|
first, getReceiver, initDefaults, last, receive, run, setReceiver
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, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
protected SvnLogMergeInfo(SvnOperationFactory factory)
public boolean isFindMerged()
true
if should report merged revisions, false
if should report eligible for mergepublic void setFindMerged(boolean findMerged)
findMerged
- true
if should report merged revisions, false
if should report eligible for mergepublic SvnTarget getSource()
public void setSource(SvnTarget source)
source
- merge sourcepublic boolean isDiscoverChangedPaths()
true
then the changed paths Map
argument will be passed to a constructor of
SVNLogEntry
.true
if all changed paths for every revision being processed should be reported, otherwise false
public void setDiscoverChangedPaths(boolean discoverChangedPaths)
true
then the changed paths Map
argument will be passed to a constructor of
SVNLogEntry
.discoverChangedPaths
- true
if all changed paths for every revision being processed should be reported, otherwise false
public java.lang.String[] getRevisionProperties()
SVNRevisionRange
objectspublic void setRevisionProperties(java.lang.String[] revisionProperties)
revisionProperties
- collection of SVNRevisionRange
objectspublic void addRevisionRange(SvnRevisionRange range)
public java.util.Collection<SvnRevisionRange> getRanges()
protected void ensureArgumentsAreValid() throws SVNException
ensureArgumentsAreValid
in class SvnOperation<SVNLogEntry>
SVNException
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<SVNLogEntry>
true
if the operation changes the working copy, otherwise false
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.