Class IntegrationEventFilter
- java.lang.Object
-
- org.alfresco.event.sdk.integration.filter.IntegrationEventFilter
-
- All Implemented Interfaces:
org.springframework.integration.core.GenericSelector<org.springframework.messaging.Message>
public class IntegrationEventFilter extends Object implements org.springframework.integration.core.GenericSelector<org.springframework.messaging.Message>
GenericSelectorimplementation that is simply a wrapper of aEventFilter. This way anyEventFiltercan be used in a Spring Integration context.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.springframework.messaging.Message source)static IntegrationEventFilterof(EventFilter eventFilter)Obtain aIntegrationEventFilterthat filters following the conditions of aEventFilter.
-
-
-
Method Detail
-
of
public static IntegrationEventFilter of(EventFilter eventFilter)
Obtain aIntegrationEventFilterthat filters following the conditions of aEventFilter.- Parameters:
eventFilter- givenEventFilterto be applied- Returns:
- created
IntegrationEventFilter
-
accept
public boolean accept(org.springframework.messaging.Message source)
- Specified by:
acceptin interfaceorg.springframework.integration.core.GenericSelector<org.springframework.messaging.Message>
-
-