org.rhq.core.domain.drift
Class FileDiffReport

java.lang.Object
  extended by 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

Constructor Summary
FileDiffReport()
           
FileDiffReport(int numChanges, List<String> diff)
           
 
Method Summary
 List<String> getDiff()
          Returns the actual diff as a list of strings where each line corresponds to an element in the list.
 int getNumberOfChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDiffReport

public FileDiffReport()

FileDiffReport

public FileDiffReport(int numChanges,
                      List<String> diff)
Method Detail

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.