public class ThresholdRangeCondition extends Condition
| Modifier and Type | Class and Description |
|---|---|
static class |
ThresholdRangeCondition.Operator |
Condition.TypeconditionId, conditionSetIndex, conditionSetSize, context, tenantId, triggerId, triggerMode, type| Constructor and Description |
|---|
ThresholdRangeCondition() |
ThresholdRangeCondition(String triggerId,
Mode triggerMode,
int conditionSetSize,
int conditionSetIndex,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange)
This constructor requires the tenantId be assigned prior to persistence.
|
ThresholdRangeCondition(String triggerId,
Mode triggerMode,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange)
This constructor requires the tenantId be assigned prior to persistence.
|
ThresholdRangeCondition(String tenantId,
String triggerId,
int conditionSetSize,
int conditionSetIndex,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange) |
ThresholdRangeCondition(String tenantId,
String triggerId,
Mode triggerMode,
int conditionSetSize,
int conditionSetIndex,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange) |
ThresholdRangeCondition(String tenantId,
String triggerId,
Mode triggerMode,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange) |
ThresholdRangeCondition(String tenantId,
String triggerId,
String dataId,
ThresholdRangeCondition.Operator operatorLow,
ThresholdRangeCondition.Operator operatorHigh,
Double thresholdLow,
Double thresholdHigh,
boolean inRange) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDataId() |
String |
getLog(double value) |
ThresholdRangeCondition.Operator |
getOperatorHigh() |
ThresholdRangeCondition.Operator |
getOperatorLow() |
Double |
getThresholdHigh() |
Double |
getThresholdLow() |
int |
hashCode() |
boolean |
isInRange() |
boolean |
match(double value) |
void |
setDataId(String dataId) |
void |
setInRange(boolean inRange) |
void |
setOperatorHigh(ThresholdRangeCondition.Operator operatorHigh) |
void |
setOperatorLow(ThresholdRangeCondition.Operator operatorLow) |
void |
setThresholdHigh(Double thresholdHigh) |
void |
setThresholdLow(Double thresholdLow) |
String |
toString() |
getConditionId, getConditionSetIndex, getConditionSetSize, getContext, getTenantId, getTriggerId, getTriggerMode, getType, setConditionSetIndex, setConditionSetSize, setContext, setTenantId, setTriggerId, setTriggerModepublic ThresholdRangeCondition()
public ThresholdRangeCondition(String tenantId, String triggerId, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public ThresholdRangeCondition(String triggerId, Mode triggerMode, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public ThresholdRangeCondition(String tenantId, String triggerId, Mode triggerMode, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public ThresholdRangeCondition(String tenantId, String triggerId, int conditionSetSize, int conditionSetIndex, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public ThresholdRangeCondition(String triggerId, Mode triggerMode, int conditionSetSize, int conditionSetIndex, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public ThresholdRangeCondition(String tenantId, String triggerId, Mode triggerMode, int conditionSetSize, int conditionSetIndex, String dataId, ThresholdRangeCondition.Operator operatorLow, ThresholdRangeCondition.Operator operatorHigh, Double thresholdLow, Double thresholdHigh, boolean inRange)
public String getDataId()
public void setDataId(String dataId)
public boolean isInRange()
public void setInRange(boolean inRange)
public ThresholdRangeCondition.Operator getOperatorHigh()
public void setOperatorHigh(ThresholdRangeCondition.Operator operatorHigh)
public ThresholdRangeCondition.Operator getOperatorLow()
public void setOperatorLow(ThresholdRangeCondition.Operator operatorLow)
public Double getThresholdHigh()
public void setThresholdHigh(Double thresholdHigh)
public Double getThresholdLow()
public void setThresholdLow(Double thresholdLow)
public String getLog(double value)
public boolean match(double value)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.