RuleStore interface. It is the rule store
implementation used by default in Joran.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static String | |
| pack-priv HashMap | |
| pack-priv List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addRule(ElementSelector elementSelector, Supplier<Action> actionSupplier)
Implements ch. |
| public void | addRule(ElementSelector elementSelector, String actionClassName)
Implements ch. |
| public void | addTransparentPathPart(String pathPart)
Implements ch. |
| pack-priv Supplier | |
| private Supplier | |
| private boolean | |
| private boolean | |
| public Supplier | matchActions(ElementPath
the path to match for elementPath)Implements ch. |
| pack-priv Supplier | |
| pack-priv Supplier | |
| pack-priv ElementPath | |
| pack-priv Supplier | |
| public String |
| KLEENE_STAR | back to summary |
|---|---|
| pack-priv static String KLEENE_STAR | |
| rules | back to summary |
|---|---|
| pack-priv HashMap<ElementSelector, Supplier<Action>> rules | |
| transparentPathParts | back to summary |
|---|---|
| pack-priv List<String> transparentPathParts | |
| SimpleRuleStore | back to summary |
|---|---|
| public SimpleRuleStore(Context context) | |
| addRule | back to summary |
|---|---|
| public void addRule(ElementSelector elementSelector, Supplier<Action> actionSupplier) Implements ch. Add a new rule, i.e. a pattern, action pair to the rule store. Note that the added action's LoggerRepository will be set in the process. | |
| addRule | back to summary |
|---|---|
| public void addRule(ElementSelector elementSelector, String actionClassName) Implements ch. Doc from ch. Add a new rule, given by a pattern and an action class (String). | |
| addTransparentPathPart | back to summary |
|---|---|
| public void addTransparentPathPart(String pathPart) Implements ch. | |
| fullPathMatch | back to summary |
|---|---|
| pack-priv Supplier | |
| internalMatchAction | back to summary |
|---|---|
| private Supplier | |
| isKleeneStar | back to summary |
|---|---|
| private boolean isKleeneStar(String last) | |
| isSuffixPattern | back to summary |
|---|---|
| private boolean isSuffixPattern(ElementSelector p) | |
| matchActions | back to summary |
|---|---|
| public Supplier Implements ch. Doc from ch. Return a list of actions matching a pattern.
| |
| middleMatch | back to summary |
|---|---|
| pack-priv Supplier | |
| prefixMatch | back to summary |
|---|---|
| pack-priv Supplier | |
| removeTransparentPathParts | back to summary |
|---|---|
| pack-priv ElementPath removeTransparentPathParts(ElementPath originalElementPath) | |
| suffixMatch | back to summary |
|---|---|
| pack-priv Supplier | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |