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 15:12:34 UTC

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

     [ https://issues.apache.org/jira/browse/JENA-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sébastien Boulet updated JENA-863:
----------------------------------
    Attachment: JENA-863.patch

> 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
>              Labels: patch
>             Fix For: Jena 2.12.2
>
>         Attachments: JENA-863.patch
>
>
> 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)