Constructor and Description |
---|
CheckFDMonitor() |
Modifier and Type | Method and Description |
---|---|
String |
condition()
Returns a description of the condition that led to
Rule.eval() returning true |
String |
description()
Describes what the rules does
|
boolean |
eval()
Evaluates the condition.
|
void |
init()
Called when rule is installed
|
String |
name()
Returns the name of the rule.
|
String |
toString() |
void |
trigger()
The action of the rule.
|
destroy, log, run, supervisor
protected FD fd
public String name()
Rule
public String description()
Rule
description
in class Rule
public void init()
Rule
public boolean eval()
Rule
Rule.condition()
should return a non-null stringpublic String condition()
Rule
Rule.eval()
returning truepublic void trigger() throws Throwable
Rule
Rule.eval()
returned trueCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.