Class ForwardNone<T extends Message<?>>
java.lang.Object
org.axonframework.modelling.command.ForwardNone<T>
- Type Parameters:
T- the implementationTof theMessagebeing filtered.
- All Implemented Interfaces:
ForwardingMode<T>
Forward no messages
T regardless of their set up.- Since:
- 3.1
- Author:
- Steven van Beelen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> Stream<E> filterCandidates(T message, Stream<E> candidates) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.axonframework.modelling.command.ForwardingMode
initialize
-
Constructor Details
-
ForwardNone
public ForwardNone()
-
-
Method Details
-
filterCandidates
Description copied from interface:ForwardingMode- Specified by:
filterCandidatesin interfaceForwardingMode<T extends Message<?>>- Type Parameters:
E- The type of thecandidates- Parameters:
message- The message of typeTto be forwarded.candidates- TheStreamof candidates to filter.- Returns:
- a filtered
Streamofcandidateswhich will handle themessage.
-