public class AlertFilter extends BaseFilter
Constructor and Description |
---|
AlertFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
StringCondition |
getOriginCondition()
Returns the
StringCondition to be used for filtering based on
the origin of the alert. |
SetCondition<Severity> |
getSeverityCondition()
Returns the
SetCondition filter that has been defined for
filtering the Severity . |
EqualityCondition<Boolean> |
getStateCondition()
Returns the
EqualityCondition that has been defined for
filtering the state. |
StringCondition |
getTopicCondition()
Returns the
StringCondition to be used for filtering based on
the topic of the alert. |
int |
hashCode() |
void |
setOriginCondition(StringCondition originCondition)
Sets the
StringCondition that has been defined for filtering
the origin of the alert. |
void |
setSeverityCondition(SetCondition<Severity> severityCondition)
Sets the
SetCondition to be used for filtering based on the
Severity . |
void |
setStateCondition(EqualityCondition<Boolean> stateCondition)
Sets the
EqualityCondition filter to be used for filtering
based on the state. |
void |
setTopicCondition(StringCondition topicCondition)
Sets the
StringCondition that has been defined for filtering
the topic of the alert. |
getSysIdCondition, getTimestampCondition, setSysIdCondition, setSysIdCondition, setTimestampCondition, toString
public SetCondition<Severity> getSeverityCondition()
SetCondition
filter that has been defined for
filtering the Severity
.public void setSeverityCondition(SetCondition<Severity> severityCondition)
SetCondition
to be used for filtering based on the
Severity
.severityCondition
- the filter condition to use for filtering on the
alert severitypublic EqualityCondition<Boolean> getStateCondition()
EqualityCondition
that has been defined for
filtering the state.public void setStateCondition(EqualityCondition<Boolean> stateCondition)
EqualityCondition
filter to be used for filtering
based on the state.stateCondition
- the filter condition to use for filtering on the
alert statepublic StringCondition getTopicCondition()
StringCondition
to be used for filtering based on
the topic of the alert.public void setTopicCondition(StringCondition topicCondition)
StringCondition
that has been defined for filtering
the topic of the alert.topicCondition
- the filter condition to use for filtering on the
alert topicpublic StringCondition getOriginCondition()
StringCondition
to be used for filtering based on
the origin of the alert.public void setOriginCondition(StringCondition originCondition)
StringCondition
that has been defined for filtering
the origin of the alert.originCondition
- the filter condition to use for filtering on the
alert originpublic int hashCode()
hashCode
in class BaseFilter
public boolean equals(Object obj)
equals
in class BaseFilter
Copyright © 2015. All Rights Reserved.