public class Rule
extends java.lang.Object
| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Rule rule) |
void |
condition(groovy.lang.Closure closure) |
void |
failed(groovy.lang.Closure closure) |
Rule[] |
getChildren() |
java.lang.String |
getDescription() |
net.e6tech.elements.jmx.stat.Measurement |
getMeasurement() |
java.lang.String |
getName() |
Rule |
getParent() |
RuleSet |
getRuleSet() |
void |
halted(groovy.lang.Closure closure) |
protected void |
measurement(boolean b) |
void |
proceed(groovy.lang.Closure closure) |
boolean |
removeChild(Rule rule) |
Rule |
rule(java.lang.String name) |
Rule |
rule(java.lang.String name,
groovy.lang.Closure closure) |
java.lang.String |
ruleName() |
void |
run(RuleContext context) |
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setParent(Rule parent) |
void |
setRuleSet(RuleSet ruleSet) |
void |
verify(java.lang.Object... objects) |
void |
verify(java.lang.String name,
groovy.lang.Closure closure) |
public void addChild(Rule rule)
public boolean removeChild(Rule rule)
public Rule[] getChildren()
public Rule getParent()
public void setParent(Rule parent)
public java.lang.String ruleName()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void verify(java.lang.Object... objects)
public void verify(java.lang.String name,
groovy.lang.Closure closure)
public void condition(groovy.lang.Closure closure)
public void proceed(groovy.lang.Closure closure)
public void halted(groovy.lang.Closure closure)
public void failed(groovy.lang.Closure closure)
public RuleSet getRuleSet()
public void setRuleSet(RuleSet ruleSet)
public net.e6tech.elements.jmx.stat.Measurement getMeasurement()
protected void measurement(boolean b)
public Rule rule(java.lang.String name, groovy.lang.Closure closure)
public Rule rule(java.lang.String name)
public void run(RuleContext context)