You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Sébastien Boulet (JIRA)" <ji...@apache.org> on 2015/01/26 14:26:34 UTC

[jira] [Created] (JENA-863) Custom builtin which does support firing a head-action on a remove

Sébastien Boulet created JENA-863:
-------------------------------------

             Summary: Custom builtin which does support firing a head-action on a remove 
                 Key: JENA-863
                 URL: https://issues.apache.org/jira/browse/JENA-863
             Project: Apache Jena
          Issue Type: Improvement
          Components: Jena, Reasoners
    Affects Versions: Jena 2.12.1
            Reporter: Sébastien Boulet
            Priority: Minor
             Fix For: Jena 2.12.2


Allow the creation of custom Builtin which its notified on a remove.

We have created an interface: {{ReversibleBuiltIn}}

{code:title=com.hp.hpl.jena.reasoner.rulesys.ReversibleBuiltIn|borderStyle=solid}
package com.hp.hpl.jena.reasoner.rulesys;

import com.hp.hpl.jena.graph.Node;

public interface ReversibleBuiltIn extends Builtin {
    public void reverseHeadAction(Node[] args, int length, RuleContext context);
}

{code}

{{reverseHeadAction}} is invoked by the {{RETEConflictSe::execute}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)