| Constructor and Description |
|---|
SampleRule() |
| 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.
|
String |
name()
Returns the name of the rule.
|
void |
trigger()
The action of the rule.
|
public String name()
Rulepublic String description()
Ruledescription in class Rulepublic boolean eval()
RuleRule.condition()
should return a non-null stringpublic String condition()
RuleRule.eval() returning trueCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.