org.rhq.domain.correlation
Class NormalizedData
java.lang.Object
org.rhq.domain.correlation.NormalizedData
- All Implemented Interfaces:
- java.lang.Cloneable
public class NormalizedData
- extends java.lang.Object
- implements java.lang.Cloneable
A normalized data item flowing through the correlation system.
It consists of the name of the rule this is coming from and the
state the last rule computed.
Sources rules can be NormalizationRule
s as well as CorrelationRule
s.
- Author:
- Heiko W. Rupp
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
NormalizedData
public NormalizedData(java.lang.String sourceRule,
ResultState resultState)
- Create a new object
- Parameters:
sourceRule
- The name of the source ruleresultState
- The state computed by the source rule
getState
public ResultState getState()
getSourceRule
public java.lang.String getSourceRule()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object