BurstFilter.Builder
public abstract static class AbstractFilter.AbstractFilterBuilder<B extends AbstractFilter.AbstractFilterBuilder<B>> extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
ATTR_ON_MATCH |
|
static String |
ATTR_ON_MISMATCH |
Constructor | Description |
---|---|
AbstractFilterBuilder() |
Modifier and Type | Method | Description |
---|---|---|
B |
asBuilder() |
|
Filter.Result |
getOnMatch() |
|
Filter.Result |
getOnMismatch() |
|
B |
setOnMatch(Filter.Result onMatch) |
Sets the Result to return when the filter matches.
|
B |
setOnMismatch(Filter.Result onMismatch) |
Sets the Result to return when the filter does not match.
|
public static final String ATTR_ON_MISMATCH
public static final String ATTR_ON_MATCH
public Filter.Result getOnMatch()
public Filter.Result getOnMismatch()
public B setOnMatch(Filter.Result onMatch)
onMatch
- the Result to return when the filter matches.public B setOnMismatch(Filter.Result onMismatch)
onMismatch
- the Result to return when the filter does not match.public B asBuilder()
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.