public class FiltersConf extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
defaultResult |
protected List<xyz.cofe.collection.Func1<Boolean,LogRecordExt>> |
list |
| Constructor and Description |
|---|
FiltersConf() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
build() |
void |
exclude(groovy.lang.Closure fn) |
void |
exclude(xyz.cofe.collection.Func1<Boolean,LogRecordExt> fn) |
void |
exclude(Level lvl) |
void |
exclude(Map opts) |
List<xyz.cofe.collection.Func1<Boolean,LogRecordExt>> |
getList() |
void |
include(groovy.lang.Closure fn) |
void |
include(xyz.cofe.collection.Func1<Boolean,LogRecordExt> fn) |
void |
include(Level lvl) |
void |
include(Map opts) |
boolean |
isDefaultResult() |
protected xyz.cofe.collection.Func1<Boolean,LogRecordExt> |
match(Map opts) |
void |
setDefaultResult(boolean defaultResult) |
protected boolean defaultResult
protected List<xyz.cofe.collection.Func1<Boolean,LogRecordExt>> list
public boolean isDefaultResult()
public void setDefaultResult(boolean defaultResult)
public List<xyz.cofe.collection.Func1<Boolean,LogRecordExt>> getList()
public Filter build()
public void include(groovy.lang.Closure fn)
public void include(xyz.cofe.collection.Func1<Boolean,LogRecordExt> fn)
public void exclude(groovy.lang.Closure fn)
public void exclude(xyz.cofe.collection.Func1<Boolean,LogRecordExt> fn)
protected xyz.cofe.collection.Func1<Boolean,LogRecordExt> match(Map opts)
public void include(Map opts)
public void exclude(Map opts)
public void include(Level lvl)
public void exclude(Level lvl)
Copyright © 2019. All rights reserved.