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