SVNKit Home

## org.tmatesoft.svn.core
Class SVNMergeInfo

    java.lang.Object
      org.tmatesoft.svn.core.SVNMergeInfo

public class SVNMergeInfo
extends Object

The `SVNMergeInfo` represents information about merges to a certain repository path.

Since:
  1.2
Version:
  1.3
Author:
  TMate Software Ltd.

Constructor Summary
`SVNMergeInfo(String path, Map srcsToRangeLists)` Creates a new `SVNMergeInfo` object.

Method Summary
`Map` `getMergeSourcesToMergeLists()` Returns a hash mapping merge sources to merge range lists.
`String` `getPath()` Returns the absolute repository path of the merge target.
`String` `toString()` Returns a string representation of this object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SVNMergeInfo

    public SVNMergeInfo(String path,
                        Map srcsToRangeLists)

  Creates a new `SVNMergeInfo` object.

Parameters:
  `path` - absolute repository path of the merge target
  `srcsToRangeLists` - hash that maps merge sources to merge range lists (`String` to `SVNMergeRangeList`)

Method Detail

### getPath

    public String getPath()

  Returns the absolute repository path of the merge target.

  Returns:
    merge target path

### getMergeSourcesToMergeLists

    public Map getMergeSourcesToMergeLists()

  Returns a hash mapping merge sources to merge range lists. Keys are `String` paths, values - `SVNMergeRangeList` values.

  Returns:
    mergeinfo of the `path`

### toString

    public String toString()

  Returns a string representation of this object.

  Returns:
    this object as a string

SVNKit Home

Copyright © 2004-2009 TMate Software Ltd. All Rights Reserved.