public class OnLoadFilters extends Object
IOnLoadFilter
sModifier and Type | Field and Description |
---|---|
static IOnLoadFilter |
ALLOW_ALL_FILTER |
Constructor and Description |
---|
OnLoadFilters() |
Modifier and Type | Method and Description |
---|---|
static IOnLoadFilter |
excludeEvents(Collection<String> excludedTypeIds)
Filter that disallows a specified set of events.
|
static IOnLoadFilter |
excludeEvents(Pattern excludeRegexp)
Filter that disallows a specified set of events.
|
static IOnLoadFilter |
includeEvents(Collection<String> includedTypeIds)
Filter that allows a specified set of events.
|
static IOnLoadFilter |
includeEvents(Pattern includeRegexp)
Filter that allows a specified set of events.
|
public static final IOnLoadFilter ALLOW_ALL_FILTER
public static IOnLoadFilter includeEvents(Collection<String> includedTypeIds)
includedTypeIds
- the event type ids to includepublic static IOnLoadFilter excludeEvents(Collection<String> excludedTypeIds)
excludedTypeIds
- the event type ids to excludepublic static IOnLoadFilter includeEvents(Pattern includeRegexp)
includeRegexp
- regular expression for which event type ids to includepublic static IOnLoadFilter excludeEvents(Pattern excludeRegexp)
excludeRegexp
- regular expression for which event type ids to excludeCopyright © 2020. All rights reserved.