public class NegateCommandMessageFilter extends Object implements CommandMessageFilter
CommandMessageFilter implementation that negates the result of another CommandMessageFilter
instance.| Constructor and Description |
|---|
NegateCommandMessageFilter(CommandMessageFilter filter)
Initialize a
CommandMessageFilter that negates results of the the given filter. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
matches(CommandMessage<?> commandMessage)
Indicates whether the given
commandMessage matches this filter. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitand, negate, or@ConstructorProperties(value="filter") public NegateCommandMessageFilter(CommandMessageFilter filter)
CommandMessageFilter that negates results of the the given filter.filter - the filter to negatepublic boolean matches(@Nonnull CommandMessage<?> commandMessage)
CommandMessageFiltercommandMessage matches this filter.matches in interface CommandMessageFiltercommandMessage - the message to matchtrue if the command matches, otherwise falseCopyright © 2010–2025. All rights reserved.