public static enum EntryFilter.FilterResult extends Enum<EntryFilter.FilterResult>
| Enum Constant and Description |
|---|
ACCEPT
deliver to the consumer.
|
REJECT
skip the message.
|
| Modifier and Type | Method and Description |
|---|---|
static EntryFilter.FilterResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryFilter.FilterResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryFilter.FilterResult ACCEPT
public static final EntryFilter.FilterResult REJECT
public static EntryFilter.FilterResult[] values()
for (EntryFilter.FilterResult c : EntryFilter.FilterResult.values()) System.out.println(c);
public static EntryFilter.FilterResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2022 Apache Software Foundation. All rights reserved.