Interface IBatchMatcher

All Known Implementing Classes:
IdpatMatcher, LgtinMatcher

public interface IBatchMatcher
Implementations of this extension point interface should identify if a given EPC class is a batch, e.g. it is used limited number of times. Be careful when implementing this interface, you probably will have to reindex all events. For more information consult documentation on PSQR Portal. To use these in your work, depend on IBatchMatcherService which wraps all the implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the given EPC class is a batch, e.g.
  • Method Details

    • isKnownToBeBatch

      boolean isKnownToBeBatch(String epcClass)
      Returns true if the given EPC class is a batch, e.g. it is used limited number of times. Be careful when implementing this interface, you probably will have to reindex all events. For more information consult documentation on PSQR Portal.

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

      Parameters:
      epcClass - the EPC class to evaluate
      Returns:
      true if the given EPC class is a batch, otherwise false