Package io.gravitee.alert.api.condition
Class ThresholdCondition
- java.lang.Object
-
- io.gravitee.alert.api.condition.AbstractCondition
-
- io.gravitee.alert.api.condition.ThresholdCondition
-
- All Implemented Interfaces:
Condition,Filter,SingleValueCondition,Serializable
public class ThresholdCondition extends AbstractCondition implements Filter
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThresholdCondition.FilterBuilderstatic classThresholdCondition.Operator-
Nested classes/interfaces inherited from interface io.gravitee.alert.api.condition.Condition
Condition.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThresholdCondition.OperatorgetOperator()StringgetProperty()DoublegetThreshold()static ThresholdCondition.FilterBuildergreaterThan(String property, Double threshold)static ThresholdCondition.FilterBuildergreaterThanOrEquals(String property, Double threshold)static ThresholdCondition.FilterBuilderlowerThan(String property, Double threshold)static ThresholdCondition.FilterBuilderlowerThanOrEquals(String property, Double threshold)-
Methods inherited from class io.gravitee.alert.api.condition.AbstractCondition
getProjections, getType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.gravitee.alert.api.condition.Condition
getProjections, getType
-
-
-
-
Method Detail
-
lowerThan
public static ThresholdCondition.FilterBuilder lowerThan(String property, Double threshold)
-
lowerThanOrEquals
public static ThresholdCondition.FilterBuilder lowerThanOrEquals(String property, Double threshold)
-
greaterThan
public static ThresholdCondition.FilterBuilder greaterThan(String property, Double threshold)
-
greaterThanOrEquals
public static ThresholdCondition.FilterBuilder greaterThanOrEquals(String property, Double threshold)
-
getProperty
public String getProperty()
-
getOperator
public ThresholdCondition.Operator getOperator()
-
getThreshold
public Double getThreshold()
-
-