public class LogFilterBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LogFilterBuilder.Expr |
class |
LogFilterBuilder.Level |
class |
LogFilterBuilder.Logger |
class |
LogFilterBuilder.Message |
static class |
LogFilterBuilder.MetaDataFilter
Содержит мета-инф о фильтре:
source - исходник parser - парсер builder - пстроение из ast в filter |
| Constructor and Description |
|---|
LogFilterBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
AND(Filter f1,
Filter f2) |
LogFilterBuilder.Expr |
and(LogFilterBuilder.Expr exp1,
LogFilterBuilder.Expr exp2) |
Filter |
build(AstNode root) |
Filter |
build(AstNode root,
xyz.cofe.typeconv.TypeCastGraph typeCast) |
Filter |
buildFilter(String filterString) |
static xyz.cofe.collection.Predicate<String> |
equalsIgnoreCaseString(xyz.cofe.collection.Func0<String> lazySample) |
static xyz.cofe.collection.Predicate<String> |
equalsIgnoreCaseString(String sample) |
static xyz.cofe.collection.Predicate<Integer> |
equalsInt(xyz.cofe.collection.Func0<Integer> lazySample) |
static xyz.cofe.collection.Predicate<Integer> |
equalsInt(int sample) |
static xyz.cofe.collection.Predicate<String> |
equalsString(xyz.cofe.collection.Func0<String> lazySample) |
static xyz.cofe.collection.Predicate<String> |
equalsString(String sample) |
LogFilterBuilder.Expr |
False() |
LogFilterBuilder.Expr |
hasError() |
static Filter |
hasErrorFilter() |
static xyz.cofe.collection.Predicate<Integer> |
lessInt(xyz.cofe.collection.Func0<Integer> lazySample) |
static xyz.cofe.collection.Predicate<Integer> |
lessInt(int sample) |
static xyz.cofe.collection.Predicate<Integer> |
lessOrEqualsInt(xyz.cofe.collection.Func0<Integer> lazySample) |
static xyz.cofe.collection.Predicate<Integer> |
lessOrEqualsInt(int sample) |
LogFilterBuilder.Logger |
logger() |
static Filter |
loggerName(xyz.cofe.collection.Predicate<String> namePredicate) |
static xyz.cofe.collection.Predicate<String> |
mask(xyz.cofe.collection.Func0<String> lazySample) |
static xyz.cofe.collection.Predicate<String> |
mask(String mask) |
LogFilterBuilder.Message |
message() |
static Filter |
message(xyz.cofe.collection.Predicate<String> messagePredicate) |
static xyz.cofe.collection.Predicate<Integer> |
moreInt(xyz.cofe.collection.Func0<Integer> lazySample) |
static xyz.cofe.collection.Predicate<Integer> |
moreInt(int sample) |
static xyz.cofe.collection.Predicate<Integer> |
moreOrEqualsInt(xyz.cofe.collection.Func0<Integer> lazySample) |
static xyz.cofe.collection.Predicate<Integer> |
moreOrEqualsInt(int sample) |
static Filter |
NOT(Filter f1)
Создание NOT фильтра
|
LogFilterBuilder.Expr |
not(LogFilterBuilder.Expr expr) |
static Filter |
OR(Filter f1,
Filter f2) |
LogFilterBuilder.Expr |
or(LogFilterBuilder.Expr exp1,
LogFilterBuilder.Expr exp2) |
static xyz.cofe.collection.Predicate<String> |
regex(xyz.cofe.collection.Func0<Pattern> lazySample) |
static xyz.cofe.collection.Predicate<String> |
regex(Pattern regexPattern) |
LogFilterBuilder.Expr |
True() |
public static xyz.cofe.collection.Predicate<String> equalsString(xyz.cofe.collection.Func0<String> lazySample)
public static xyz.cofe.collection.Predicate<String> equalsIgnoreCaseString(String sample)
public static xyz.cofe.collection.Predicate<String> equalsIgnoreCaseString(xyz.cofe.collection.Func0<String> lazySample)
public static xyz.cofe.collection.Predicate<String> mask(xyz.cofe.collection.Func0<String> lazySample)
public static xyz.cofe.collection.Predicate<String> regex(xyz.cofe.collection.Func0<Pattern> lazySample)
public static xyz.cofe.collection.Predicate<Integer> lessInt(int sample)
public static xyz.cofe.collection.Predicate<Integer> lessInt(xyz.cofe.collection.Func0<Integer> lazySample)
public static xyz.cofe.collection.Predicate<Integer> lessOrEqualsInt(int sample)
public static xyz.cofe.collection.Predicate<Integer> lessOrEqualsInt(xyz.cofe.collection.Func0<Integer> lazySample)
public static xyz.cofe.collection.Predicate<Integer> moreInt(int sample)
public static xyz.cofe.collection.Predicate<Integer> moreInt(xyz.cofe.collection.Func0<Integer> lazySample)
public static xyz.cofe.collection.Predicate<Integer> moreOrEqualsInt(int sample)
public static xyz.cofe.collection.Predicate<Integer> moreOrEqualsInt(xyz.cofe.collection.Func0<Integer> lazySample)
public static xyz.cofe.collection.Predicate<Integer> equalsInt(int sample)
public static xyz.cofe.collection.Predicate<Integer> equalsInt(xyz.cofe.collection.Func0<Integer> lazySample)
public LogFilterBuilder.Expr and(LogFilterBuilder.Expr exp1, LogFilterBuilder.Expr exp2)
public LogFilterBuilder.Expr or(LogFilterBuilder.Expr exp1, LogFilterBuilder.Expr exp2)
public LogFilterBuilder.Expr not(LogFilterBuilder.Expr expr)
public static Filter NOT(Filter f1)
f1 - исходный фильтрpublic LogFilterBuilder.Expr True()
public LogFilterBuilder.Expr False()
public LogFilterBuilder.Expr hasError()
public static Filter hasErrorFilter()
public LogFilterBuilder.Logger logger()
public LogFilterBuilder.Message message()
Copyright © 2017. All rights reserved.