Class BmEventFilter
- java.lang.Object
-
- com._1c.g5.v8.bm.integration.event.BmEventFilter
-
public class BmEventFilter extends Object
BM internal event filter. Used to tune up the performance of the solution based on BM via pre-filtering of incoming events before consumers start to process them.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BmEventFilter
associationFilter()
Gets an instance of filter for matchingBmAssociationEvent
s.static BmEventFilter
blobFilter()
Creates a preconfigured instance of blob event filter.static BmEventFilter
changeFilter()
Gets an instance of filter for matchingBmChangeEvent
s.static BmEventFilter
eClassAssociationFilter(org.eclipse.emf.ecore.EClass eClass)
Creates a preconfigured instance of association event filter for matching against specific object type.static BmEventFilter
eClassChangeFilter(org.eclipse.emf.ecore.EClass eClass)
Creates a preconfigured instance of change event filter for matching against specific object type.org.eclipse.emf.ecore.EClass
getEClass()
Gets the type of matched EObject.Class<? extends BmSubEvent>
getEventClass()
Gets the type of the event to match.
-
-
-
Method Detail
-
associationFilter
public static BmEventFilter associationFilter()
Gets an instance of filter for matchingBmAssociationEvent
s.- Returns:
- an instance of filter.
-
changeFilter
public static BmEventFilter changeFilter()
Gets an instance of filter for matchingBmChangeEvent
s.- Returns:
- an instance of filter.
-
eClassAssociationFilter
public static BmEventFilter eClassAssociationFilter(org.eclipse.emf.ecore.EClass eClass)
Creates a preconfigured instance of association event filter for matching against specific object type.- Parameters:
eClass
- The type of the object for matching.- Returns:
- The event filter instance.
-
eClassChangeFilter
public static BmEventFilter eClassChangeFilter(org.eclipse.emf.ecore.EClass eClass)
Creates a preconfigured instance of change event filter for matching against specific object type.- Parameters:
eClass
- The type of the object for matching.- Returns:
- The event filter instance.
-
blobFilter
public static BmEventFilter blobFilter()
Creates a preconfigured instance of blob event filter.- Returns:
- The event filter instance.
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()
Gets the type of matched EObject.- Returns:
- The matched EClass.
-
getEventClass
public Class<? extends BmSubEvent> getEventClass()
Gets the type of the event to match.- Returns:
- The event type for matching.
-
-