Class OnLoadFilters
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.parser.filter.OnLoadFilters
-
public class OnLoadFilters extends java.lang.ObjectUtility methods for creatingIOnLoadFilters
-
-
Field Summary
Fields Modifier and Type Field Description static IOnLoadFilterALLOW_ALL_FILTER
-
Constructor Summary
Constructors Constructor Description OnLoadFilters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IOnLoadFilterexcludeEvents(java.util.Collection<java.lang.String> excludedTypeIds)Filter that disallows a specified set of events.static IOnLoadFilterexcludeEvents(java.util.regex.Pattern excludeRegexp)Filter that disallows a specified set of events.static IOnLoadFilterincludeEvents(java.util.Collection<java.lang.String> includedTypeIds)Filter that allows a specified set of events.static IOnLoadFilterincludeEvents(java.util.regex.Pattern includeRegexp)Filter that allows a specified set of events.
-
-
-
Field Detail
-
ALLOW_ALL_FILTER
public static final IOnLoadFilter ALLOW_ALL_FILTER
-
-
Method Detail
-
includeEvents
public static IOnLoadFilter includeEvents(java.util.Collection<java.lang.String> includedTypeIds)
Filter that allows a specified set of events.- Parameters:
includedTypeIds- the event type ids to include- Returns:
- a filter
-
excludeEvents
public static IOnLoadFilter excludeEvents(java.util.Collection<java.lang.String> excludedTypeIds)
Filter that disallows a specified set of events.- Parameters:
excludedTypeIds- the event type ids to exclude- Returns:
- a filter
-
includeEvents
public static IOnLoadFilter includeEvents(java.util.regex.Pattern includeRegexp)
Filter that allows a specified set of events.- Parameters:
includeRegexp- regular expression for which event type ids to include- Returns:
- a filter
-
excludeEvents
public static IOnLoadFilter excludeEvents(java.util.regex.Pattern excludeRegexp)
Filter that disallows a specified set of events.- Parameters:
excludeRegexp- regular expression for which event type ids to exclude- Returns:
- a filter
-
-