public abstract class FilterOp extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FilterOp.ArgType |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Arg> |
args |
protected ArrayList<FilterOp> |
subOps |
Constructor and Description |
---|
FilterOp() |
Modifier and Type | Method and Description |
---|---|
void |
addArg(Arg arg) |
void |
addSubOp(FilterOp op) |
abstract boolean |
matches(LogEntry entry) |
static FilterOp |
newOp(String op) |
String |
toString() |
public static FilterOp newOp(String op) throws FilterException
FilterException
public void addSubOp(FilterOp op)
public void addArg(Arg arg)
public abstract boolean matches(LogEntry entry) throws FilterException
FilterException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.