org.rhq.core.domain.drift
Class FileDiffReport
java.lang.Object
org.rhq.core.domain.drift.FileDiffReport
- All Implemented Interfaces:
- Serializable
public class FileDiffReport
- extends Object
- implements Serializable
This is a data structure that encapsulates a file diff and is suitable for use in the
GWT UI as well as in remote clients.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDiffReport
public FileDiffReport()
FileDiffReport
public FileDiffReport(int numChanges,
List<String> diff)
getNumberOfChanges
public int getNumberOfChanges()
- Returns:
- The number of changes in the diff
getDiff
public List<String> getDiff()
- Returns the actual diff as a list of strings where each line corresponds to an
element in the list.
- Returns:
- The diff as a list of strings.
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.