Class IntegrationEventFilter
java.lang.Object
org.alfresco.event.sdk.integration.filter.IntegrationEventFilter
- All Implemented Interfaces:
org.springframework.integration.core.GenericSelector<org.springframework.messaging.Message<?>>,org.springframework.integration.core.MessageSelector
public class IntegrationEventFilter
extends Object
implements org.springframework.integration.core.MessageSelector
MessageSelector implementation that is simply a wrapper of a EventFilter. This way any EventFilter can be used in a Spring
Integration context.-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(org.springframework.messaging.Message<?> source) static IntegrationEventFilterof(org.alfresco.event.sdk.handling.filter.EventFilter eventFilter) Obtain aIntegrationEventFilterthat filters following the conditions of aEventFilter.
-
Method Details
-
of
public static IntegrationEventFilter of(org.alfresco.event.sdk.handling.filter.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<?>>- Specified by:
acceptin interfaceorg.springframework.integration.core.MessageSelector
-