Class Declaration

java.lang.Object
org.drools.base.rule.Declaration
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, AcceptsReadAccessor, TupleValueExtractor

public class Declaration extends Object implements Externalizable, AcceptsReadAccessor, TupleValueExtractor
See Also:
  • Constructor Details

    • Declaration

      public Declaration()
    • Declaration

      public Declaration(String identifier, Pattern pattern)
      Construct.
      Parameters:
      identifier - The name of the variable.
      pattern - The pattern this variable is declared in
    • Declaration

      public Declaration(String identifier, ReadAccessor extractor, Pattern pattern)
      Construct.
      Parameters:
      identifier - The name of the variable.
      extractor - The extractor for this variable
      pattern - The pattern this variable is declared in
    • Declaration

      public Declaration(String identifier, ReadAccessor extractor, Pattern pattern, boolean internalFact)
      Parameters:
      identifier - The name of the variable.
      identifier - The name of the variable.
      extractor - The extractor for this variable
      internalFact - True if this is an internal fact created by the engine, like a collection result of a collect CE
  • Method Details