|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IComparator
A message comparator service.
Compares the contents of an expected message to a provided message.
It is possible to ignore various elements of
the message by adding ignore rules via addIgnore(UiIgnore)
.
Method Summary | |
---|---|
void |
addIgnore(UiIgnore pIgnore)
Adds a new ignore rule before undertaking the comparaison. |
void |
clearDifferences()
Clears the results of the previous comparaison. |
boolean |
compareTo(java.lang.Object pObject)
Compares the expected message to the given object. |
java.util.HashMap |
getDifferences()
The list of differences identified. |
void |
setExpected(IMessage pExpected)
The expected message to compare to. |
Method Detail |
---|
void setExpected(IMessage pExpected)
pExpected
- the message.boolean compareTo(java.lang.Object pObject)
pObject
- the reference object with which to compare.
true
if this object is the same as the pObject
argument; false
otherwise.java.util.HashMap getDifferences()
void clearDifferences()
void addIgnore(UiIgnore pIgnore)
pIgnore
- the new ignore rule to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |