public class RuleRegistry
extends java.lang.Object
IRule
interface.
In order to add a new rule to the registry, create a new IRule implementation and add its fully qualified class name in a file named META-INF/services/org.openjdk.jmc.flightrecorder.rules.IRule (one line per class).
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<IRule> |
RULES |
Modifier | Constructor and Description |
---|---|
private |
RuleRegistry() |
Modifier and Type | Method and Description |
---|---|
private static void |
add(IRule rule,
java.util.Map<java.lang.String,IRule> rulesById) |
private static java.util.logging.Logger |
getLogger() |
static java.util.Collection<IRule> |
getRules() |
private static final java.util.Collection<IRule> RULES