|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiffHandler
An interface for classes which wish to receive information about differences in class files between two different jar file version to implement.
Method Summary | |
---|---|
void |
classAdded(ClassInfo classinfo)
Notification that a class was added. |
void |
classChanged(ClassInfo oldClassinfo,
ClassInfo newClassinfo)
The current class has changed. |
void |
classRemoved(ClassInfo classinfo)
Notification that a class was removed. |
void |
contains(ClassInfo info)
Add a contained class. |
void |
endAdded()
End of list of removed classes. |
void |
endChanged()
End of class changes. |
void |
endClassChanged()
End of changes for the current class. |
void |
endDiff()
End of the diff. |
void |
endNewContents()
End the list of new contents. |
void |
endOldContents()
End the list of old contents. |
void |
endRemoved()
End of list of removed classes. |
void |
fieldAdded(FieldInfo fieldinfo)
The field was added for the current class that has changed. |
void |
fieldChanged(FieldInfo oldFieldinfo,
FieldInfo newFieldinfo)
A field on the current class has changed. |
void |
fieldRemoved(FieldInfo fieldinfo)
The field was removed for the current class that has changed. |
void |
methodAdded(MethodInfo methodinfo)
The method was added for the current class that has changed. |
void |
methodChanged(MethodInfo oldMethodInfo,
MethodInfo newMethodInfo)
A method on the current class has changed. |
void |
methodRemoved(MethodInfo methodinfo)
The method was removed for the current class that has changed. |
void |
startAdded()
Start of list of added classes. |
void |
startChanged()
Start list of changed classes. |
void |
startClassChanged(java.lang.String string)
Start information about class changes for the classname passed. |
void |
startDiff(java.lang.String a,
java.lang.String b)
Start a diff between two versions, where string a is the old version and string b is the new version. |
void |
startNewContents()
Start the list of new contents. |
void |
startOldContents()
Start the list of old contents. |
void |
startRemoved()
Start the list of removed classes. |
Method Detail |
---|
void startDiff(java.lang.String a, java.lang.String b) throws DiffException
a
- the name of the old versionb
- the name of the new version
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startOldContents() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startNewContents() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid contains(ClassInfo info) throws DiffException
info
- information about a class
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endOldContents() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endNewContents() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startRemoved() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid classRemoved(ClassInfo classinfo) throws DiffException
classinfo
- information about the class that has been removed.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endRemoved() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startAdded() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid classAdded(ClassInfo classinfo) throws DiffException
classinfo
- information about the class that has been removed.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endAdded() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startChanged() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid startClassChanged(java.lang.String string) throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid fieldRemoved(FieldInfo fieldinfo) throws DiffException
fieldinfo
- Information about the field removed.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid methodRemoved(MethodInfo methodinfo) throws DiffException
methodinfo
- Information about the method removed.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid fieldAdded(FieldInfo fieldinfo) throws DiffException
fieldinfo
- Information about the field added.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid methodAdded(MethodInfo methodinfo) throws DiffException
methodinfo
- Information about the method added.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid classChanged(ClassInfo oldClassinfo, ClassInfo newClassinfo) throws DiffException
oldClassinfo
- Information about the old class.newClassinfo
- Information about the new class.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid fieldChanged(FieldInfo oldFieldinfo, FieldInfo newFieldinfo) throws DiffException
oldFieldinfo
- Information about the old field.newFieldinfo
- Information about the new field.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid methodChanged(MethodInfo oldMethodInfo, MethodInfo newMethodInfo) throws DiffException
oldMethodInfo
- Information about the old method.newMethodInfo
- Information about the new method.
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endClassChanged() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endChanged() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOExceptionvoid endDiff() throws DiffException
DiffException
- when there is an underlying exception, e.g.
writing to a file caused an IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |