public class Filters extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCEPT |
static String |
ALL |
static String |
ANY |
static String |
DENY |
static String |
LEVEL_CHANGE |
static String |
LEVEL_RANGE |
static String |
LEVELS |
static String |
MATCH |
static String |
NOT |
static String |
SUBSTITUTE |
static String |
SUBSTITUTE_ALL |
| Constructor and Description |
|---|
Filters() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.dmr.ModelNode |
filterSpecToFilter(String value)
Converts a filter spec to a legacy
filter. |
static String |
filterToFilterSpec(org.jboss.dmr.ModelNode value)
Converts the legacy
filter to the new filter spec. |
static Collection<String> |
getCustomFilterNames(String filterSpec)
Returns a collection of names of custom filters inside a
filter-spec attribute. |
public static final String ACCEPT
public static final String ALL
public static final String ANY
public static final String DENY
public static final String LEVELS
public static final String LEVEL_CHANGE
public static final String LEVEL_RANGE
public static final String MATCH
public static final String NOT
public static final String SUBSTITUTE
public static final String SUBSTITUTE_ALL
public static String filterToFilterSpec(org.jboss.dmr.ModelNode value) throws OperationFailedException
filter to the new filter spec.value - the value to convertOperationFailedException - if a conversion error occurspublic static org.jboss.dmr.ModelNode filterSpecToFilter(String value)
filter.value - the value to convertpublic static Collection<String> getCustomFilterNames(String filterSpec)
filter-spec attribute.filterSpec - the filter specification stringCopyright © 2021 JBoss by Red Hat. All rights reserved.