public class NelsonCondition extends Condition
| Modifier and Type | Class and Description |
|---|---|
static class |
NelsonCondition.NelsonRule |
Condition.TypeconditionId, conditionSetIndex, conditionSetSize, context, tenantId, triggerId, triggerMode, type| Constructor and Description |
|---|
NelsonCondition()
Used for JSON deserialization, not for general use.
|
NelsonCondition(String triggerId,
Mode triggerMode,
int conditionSetSize,
int conditionSetIndex,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules,
Integer sampleSize)
This constructor requires the tenantId be assigned prior to persistence.
|
NelsonCondition(String tenantId,
String triggerId,
Mode triggerMode,
int conditionSetSize,
int conditionSetIndex,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules,
Integer sampleSize) |
NelsonCondition(String triggerId,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules)
This constructor requires the tenantId be assigned prior to persistence.
|
NelsonCondition(String triggerId,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules,
Integer sampleSize)
This constructor requires the tenantId be assigned prior to persistence.
|
NelsonCondition(String tenantId,
String triggerId,
String dataId) |
NelsonCondition(String tenantId,
String triggerId,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules) |
NelsonCondition(String tenantId,
String triggerId,
String dataId,
Set<NelsonCondition.NelsonRule> activeRules,
Integer sampleSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<NelsonCondition.NelsonRule> |
getActiveRules() |
String |
getDataId() |
String |
getLog(List<NelsonCondition.NelsonRule> violations,
Double mean,
Double standardDeviation,
List<Data> violationsData) |
int |
getSampleSize() |
int |
hashCode() |
boolean |
match(List<NelsonCondition.NelsonRule> violations) |
void |
setActiveRules(Set<NelsonCondition.NelsonRule> activeRules) |
void |
setDataId(String dataId) |
void |
setSampleSize(Integer sampleSize) |
String |
toString() |
getConditionId, getConditionSetIndex, getConditionSetSize, getContext, getTenantId, getTriggerId, getTriggerMode, getType, setConditionSetIndex, setConditionSetSize, setContext, setTenantId, setTriggerId, setTriggerModepublic NelsonCondition()
public NelsonCondition(String tenantId, String triggerId, String dataId, Set<NelsonCondition.NelsonRule> activeRules)
public NelsonCondition(String tenantId, String triggerId, String dataId, Set<NelsonCondition.NelsonRule> activeRules, Integer sampleSize)
public NelsonCondition(String triggerId, String dataId, Set<NelsonCondition.NelsonRule> activeRules)
public NelsonCondition(String triggerId, String dataId, Set<NelsonCondition.NelsonRule> activeRules, Integer sampleSize)
public NelsonCondition(String triggerId, Mode triggerMode, int conditionSetSize, int conditionSetIndex, String dataId, Set<NelsonCondition.NelsonRule> activeRules, Integer sampleSize)
public String getDataId()
public void setDataId(String dataId)
public Set<NelsonCondition.NelsonRule> getActiveRules()
public void setActiveRules(Set<NelsonCondition.NelsonRule> activeRules)
public int getSampleSize()
public void setSampleSize(Integer sampleSize)
public String getLog(List<NelsonCondition.NelsonRule> violations, Double mean, Double standardDeviation, List<Data> violationsData)
public boolean match(List<NelsonCondition.NelsonRule> violations)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.