Class SourceIteratorItem

java.lang.Object
com.aquima.interactions.rule.inference.SourceIteratorItem

public class SourceIteratorItem extends Object
Describes an Item in the SourceIterator class.
Since:
7.0
Author:
a.pragt
  • Constructor Details

    • SourceIteratorItem

      protected SourceIteratorItem(int priority, SourceType sourceType)
  • Method Details

    • getSourceType

      public SourceType getSourceType()
      This method returns the source type of the rules this item represents.
      Returns:
      the source type of the rules this item represents.
    • getPriority

      public int getPriority()
      This method returns the priority of the rules this item represents.
      Returns:
      the priority of the rules this item represents.
    • hasInferenceRules

      public boolean hasInferenceRules()
      This method returns a boolean indicating if this item has any rules.
      Returns:
      boolean indicating if this item has any rules.
    • getInferenceRules

      public IInferenceRule[] getInferenceRules()
      This method returns an array containing all the rules of this item.
      Returns:
      an array containing all the rules of this item.
    • addInferenceRule

      protected void addInferenceRule(IInferenceRule inferenceRule)