Example #1
0
 @Override
 public void applyTo(NodePredicate predicate, Class<? extends RuleSource> rules) {
   modelRegistry.configureMatching(predicate.scope(getPath()), rules);
 }
Example #2
0
 @Override
 public void applyTo(NodePredicate predicate, ModelActionRole role, ModelAction<?> action) {
   modelRegistry.configureMatching(predicate.scope(getPath()), role, action);
 }