Interface IReusableAssetMatcher
- All Known Implementing Classes:
GiaiMatcher
,GraiMatcher
public interface IReusableAssetMatcher
Implementation of this extension point interface help Saga identify if a given EPC is reusable (long-living).
Be careful when changing/removing an implementation of this interface, you might have to reindex all events.
For more information consult documentation on PSQR Portal.
If you depend on IReusableAssetMatcherService in one of your services, Saga will iterate all extensions of this type
to see if one of them knows an EPC to be long-lived.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given EPC is reusable (long-living).
-
Method Details
-
isKnownToBeReusableAsset
Returns true if the given EPC is reusable (long-living). Be careful when changing/removing an implementation of this interface, you might 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:
epc
- the EPC to evaluate- Returns:
- true if the given EPC is reusable (long-living), otherwise false
-