Class IdpatMatcher
java.lang.Object
com.persequor.extension.eventservice.IdpatMatcher
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isKnownToBeBatch
(String epcClass) Returns true if the given EPC class is a batch, e.g.
-
Constructor Details
-
IdpatMatcher
public IdpatMatcher()
-
-
Method Details
-
isKnownToBeBatch
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 interfaceIBatchMatcher
- Parameters:
epcClass
- the EPC class to evaluate- Returns:
- true if the given EPC class is a batch, otherwise false
-