Class NegateCommandMessageFilter
java.lang.Object
org.axonframework.commandhandling.distributed.commandfilter.NegateCommandMessageFilter
- All Implemented Interfaces:
Serializable,CommandMessageFilter
A
CommandMessageFilter implementation that negates the result of another CommandMessageFilter
instance.- Since:
- 4.0
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInitialize aCommandMessageFilterthat negates results of the the givenfilter. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.axonframework.commandhandling.distributed.CommandMessageFilter
and, negate, or
-
Constructor Details
-
NegateCommandMessageFilter
Initialize aCommandMessageFilterthat negates results of the the givenfilter.- Parameters:
filter- the filter to negate
-
-
Method Details
-
matches
Description copied from interface:CommandMessageFilterIndicates whether the givencommandMessagematches this filter.- Specified by:
matchesin interfaceCommandMessageFilter- Parameters:
commandMessage- the message to match- Returns:
trueif the command matches, otherwisefalse
-
equals
-
hashCode
public int hashCode() -
toString
-