|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.apptemplate.filtering.impl.configuration.FilterFactory
public abstract class FilterFactory
Creates or modifies filter
regarding provided configuration options.
Field Summary | |
---|---|
static java.lang.String |
filter_key
|
static java.lang.String |
filter_type
|
Constructor Summary | |
---|---|
FilterFactory()
|
Method Summary | |
---|---|
abstract boolean |
applyKeyValueOption(BaseFilter filter,
java.lang.String key,
java.lang.String value)
Creates or modifies filter options. |
abstract BaseFilter |
create(java.lang.String filterName,
KeyValueCollection options)
Creates filter and apply filter options. |
static java.lang.String |
parseName(java.lang.String key)
Expected string: log-filter.filtername If format doesn't match, null will be returned. |
abstract boolean |
removeKeyValueOption(BaseFilter filter,
java.lang.String key)
Removes configuration option from the provided filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String filter_key
public static final java.lang.String filter_type
Constructor Detail |
---|
public FilterFactory()
Method Detail |
---|
public abstract BaseFilter create(java.lang.String filterName, KeyValueCollection options)
public abstract boolean applyKeyValueOption(BaseFilter filter, java.lang.String key, java.lang.String value)
filter
- The filter object to which option should be applied.key
- Option namevalue
- Option value
public abstract boolean removeKeyValueOption(BaseFilter filter, java.lang.String key)
filter
- The filter object from which option should be removed.key
- Option name
public static java.lang.String parseName(java.lang.String key)
key
- String that contains filter name.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |