Interface ILeafNodeMatcher


public interface ILeafNodeMatcher
Implementation of this should return true if it knows for certain that a given EPC is a leaf node (contains no child EPCs) You should depend on ILeafNodeMatcherService to query all the registered extensions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the given EPC is a leaf node, eg.
  • Method Details

    • isKnownToBeLeafNode

      boolean isKnownToBeLeafNode(String epc)
      Returns true if the given EPC is a leaf node, eg. does not contain child EPCs

      If your implementation throws an exception, Saga will log this and assume you returned false.

      Parameters:
      epc - the EPC to evaluate
      Returns:
      true if the given EPC does not contain child EPCs, otherwise false