de.torstennahm.integrate
Class IntegrationInfo
java.lang.Object
de.torstennahm.integrate.IntegrationInfo
- Direct Known Subclasses:
- CouldNotEvaluateInfo
public class IntegrationInfo
- extends java.lang.Object
Provides additional information for an IntegrationResult
.
This class provides only a human-readable text description of the information.
Other information should be provided by subclasses with additional methods.
Implementor's note: The integration info objects are stored in a set. In this
way, if the same information is generated several times, and added to the set,
only one copy is retained. This prevents the used from getting the same
message potentially hundreds of times. For this to work, only the same information
must indeed compare as equal in the set. Subclasses therefore need to
override equals
.
- Author:
- Torsten Nahm
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
errorDescription
protected java.lang.String errorDescription
IntegrationInfo
public IntegrationInfo(java.lang.String textInfo)
textInfo
public java.lang.String textInfo()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object