Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-863

Custom builtin which does support firing a head-action on a remove

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Jena 2.12.1
    • Jena 2.13.0
    • Jena, Reasoners

    Description

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

      We have created an interface: ReversibleBuiltIn

      com.hp.hpl.jena.reasoner.rulesys.ReversibleBuiltIn
      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);
      }
      
      

      reverseHeadAction is invoked by the RETEConflictSe::execute

      Attachments

        1. JENA-863.patch
          9 kB
          Sébastien Boulet

        Activity

          People

            Unassigned Unassigned
            gontard Sébastien Boulet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: