public static enum NotificationFilter.FilterPolicy extends Enum<NotificationFilter.FilterPolicy>
Enum Constant and Description |
---|
FILTER
Value used when the event must be not returned.
|
KEEP
Value used when the event must be kept.
|
NO_EFFECT
Value used when the filter has no impact on the given event.
|
Modifier and Type | Method and Description |
---|---|
static NotificationFilter.FilterPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationFilter.FilterPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationFilter.FilterPolicy FILTER
public static final NotificationFilter.FilterPolicy KEEP
public static final NotificationFilter.FilterPolicy NO_EFFECT
public static NotificationFilter.FilterPolicy[] values()
for (NotificationFilter.FilterPolicy c : NotificationFilter.FilterPolicy.values()) System.out.println(c);
public static NotificationFilter.FilterPolicy 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 © 2004–2022 XWiki. All rights reserved.