Class XpathBackReference.RelativePattern

java.lang.Object
org.drools.base.rule.Pattern
org.drools.base.rule.XpathBackReference.RelativePattern
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, AcceptsClassObjectType, RuleComponent, RuleConditionElement
Enclosing class:
XpathBackReference

public static class XpathBackReference.RelativePattern extends Pattern
See Also:
  • Constructor Details

    • RelativePattern

      public RelativePattern(Pattern pattern, int relativeOffset)
  • Method Details

    • getTupleIndex

      public int getTupleIndex()
      Description copied from class: Pattern
      The index of pattern in the tuple chain.
      Overrides:
      getTupleIndex in class Pattern
      Returns:
      the tupleIndex