SVNKit Home

org.tmatesoft.svn.core
Class SVNMergeInfo

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

public class SVNMergeInfo
extends Object

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

Since:
1.2.0
Version:
1.2.0
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.

Overrides:
toString in class Object
Returns:
this object as a string

SVNKit Home

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