Class IdpatMatcher

java.lang.Object
com.persequor.extension.eventservice.IdpatMatcher
All Implemented Interfaces:
IBatchMatcher

public class IdpatMatcher extends Object implements IBatchMatcher
Recognizes EPC class as a batch if it is an EPC Pure Identity Pattern. Based on EPC Tag Data Standard v1.13, chapter 8
  • Constructor Details

    • IdpatMatcher

      public IdpatMatcher()
  • Method Details

    • isKnownToBeBatch

      public boolean isKnownToBeBatch(String epcClass)
      Description copied from interface: IBatchMatcher
      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.

      Specified by:
      isKnownToBeBatch in interface IBatchMatcher
      Parameters:
      epcClass - the EPC class to evaluate
      Returns:
      true if the given EPC class is a batch, otherwise false