HandlerPredicates

public final class HandlerPredicates

Utility class defining filters over some collections.

Methods

tasksWithRegisteredChannel

public static Predicate tasksWithRegisteredChannel()

Returns the predicate for fetching tasks with channels that are currently registered.

Returns:the predicate for fetching tasks

withServiceName

public static Predicate withServiceName(String serviceName)

Returns the predicate for fetching MotechListenerEventProxy with the given name.

Parameters:
  • serviceName – the name of the service
Returns:

the predicate for fetching MotechListenerEventProxy