com.aragost.javahg.commands
Class UpdateResult
java.lang.Object
com.aragost.javahg.commands.UpdateResult
public class UpdateResult
- extends Object
The statistic returned by running hg update.
getUpdated
public int getUpdated()
- Returns:
- number of updated files.
getMerged
public int getMerged()
- Returns:
- number of merged files. These are the files that were
merged without conflict, see
getUnresolved()
for the number of files with merge conflicts.
getRemoved
public int getRemoved()
- Returns:
- number of removed files.
getUnresolved
public int getUnresolved()
- Returns:
- number of unresolved files.
fromLine
public static UpdateResult fromLine(String line)
- Factory method to create an
UpdateResult
.
- Parameters:
line
- the final line of hg update
- Returns:
- the parsed update result.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.