public final class AllLogWatchMessagesAcceptingCondition extends Object implements MidDeliveryMessageCondition<LogWatch>, SimpleMessageCondition
| Modifier and Type | Field and Description |
|---|---|
static AllLogWatchMessagesAcceptingCondition |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Message evaluate)
Evaluate a message against a user-provided condition.
|
boolean |
accept(Message evaluate,
MessageDeliveryStatus status,
LogWatch source)
Evaluate a message against a user-provided condition.
|
public static final AllLogWatchMessagesAcceptingCondition INSTANCE
public boolean accept(Message evaluate)
SimpleMessageConditionaccept in interface SimpleMessageConditionevaluate - The message to evaluate.public boolean accept(Message evaluate, MessageDeliveryStatus status, LogWatch source)
MidDeliveryMessageConditionaccept in interface MidDeliveryMessageCondition<LogWatch>evaluate - The message to evaluate.status - Current processing status of the message.source - The notifying object.Copyright © 2015. All rights reserved.