Class AlarmFeedback
- java.lang.Object
-
- org.opennms.features.situationfeedback.api.AlarmFeedback
-
public final class AlarmFeedback extends java.lang.Object
Expresses Feedback on the Correlation of an Alarm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlarmFeedback.Builder
static class
AlarmFeedback.FeedbackType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAlarmKey()
AlarmFeedback.FeedbackType
getFeedbackType()
java.lang.String
getReason()
boolean
getRootCause()
java.lang.String
getSituationFingerprint()
java.lang.String
getSituationKey()
java.util.List<java.lang.String>
getTags()
long
getTimestamp()
java.lang.String
getUser()
int
hashCode()
static AlarmFeedback.Builder
newBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static AlarmFeedback.Builder newBuilder()
-
getSituationKey
public java.lang.String getSituationKey()
-
getSituationFingerprint
public java.lang.String getSituationFingerprint()
-
getAlarmKey
public java.lang.String getAlarmKey()
-
getFeedbackType
public AlarmFeedback.FeedbackType getFeedbackType()
-
getRootCause
public boolean getRootCause()
-
getReason
public java.lang.String getReason()
-
getTags
public java.util.List<java.lang.String> getTags()
-
getUser
public java.lang.String getUser()
-
getTimestamp
public long getTimestamp()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-