com.jeantessier.diff
Class RemovableDifferences
java.lang.Object
|
+--com.jeantessier.diff.RemovableDifferences
- All Implemented Interfaces:
- java.lang.Comparable, Differences
- Direct Known Subclasses:
- ClassDifferences, FeatureDifferences, PackageDifferences
- public abstract class RemovableDifferences
- extends java.lang.Object
- implements Differences, java.lang.Comparable
Documents the difference, if any, for a given programming
element that can be absent in either the old or the new
codebase. This includes classes, interfaces, fields,
constructors, and methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemovableDifferences
protected RemovableDifferences(java.lang.String name)
Name
public java.lang.String Name()
- Specified by:
Name
in interface Differences
OldDeclaration
public java.lang.String OldDeclaration()
OldDeclaration
public void OldDeclaration(java.lang.String old_declaration)
NewDeclaration
public java.lang.String NewDeclaration()
NewDeclaration
public void NewDeclaration(java.lang.String new_declaration)
IsRemoved
public boolean IsRemoved()
IsModified
public boolean IsModified()
IsNew
public boolean IsNew()
IsEmpty
public boolean IsEmpty()
- Specified by:
IsEmpty
in interface Differences
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object other)
- Specified by:
compareTo
in interface java.lang.Comparable