Package org.topbraid.shacl.rules
Interface Rule
-
- All Known Implementing Classes:
AbstractRule,SPARQLRule
public interface RuleRepresents a single rule in executable "pre-compiled" form.- Author:
- Holger Knublauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(RuleEngine ruleEngine, List<org.apache.jena.rdf.model.RDFNode> focusNodes, Shape shape)Executes this rule, callingruleEngine.infer()to add triples.org.apache.jena.graph.NodegetContextNode()NumbergetOrder()
-
-
-
Method Detail
-
execute
void execute(RuleEngine ruleEngine, List<org.apache.jena.rdf.model.RDFNode> focusNodes, Shape shape)
Executes this rule, callingruleEngine.infer()to add triples.- Parameters:
ruleEngine- the RuleEngine to operate onfocusNodes- the list of focus nodes for this executionshape- the context shape
-
getContextNode
org.apache.jena.graph.Node getContextNode()
-
getOrder
Number getOrder()
-
-