public class ContextDescriptorConditionFilter extends Object implements ContextDescriptorCondition
Constructor and Description |
---|
ContextDescriptorConditionFilter()
Ctor.
|
ContextDescriptorConditionFilter(Filter filter,
String optionalAsName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Filter |
getFilter()
Returns the event stream filter.
|
String |
getOptionalAsName()
Returns the tag name assigned, if any.
|
void |
setFilter(Filter filter)
Sets the event stream filter.
|
void |
setOptionalAsName(String optionalAsName)
Returns the tag name assigned, if any.
|
void |
toEPL(StringWriter writer,
EPStatementFormatter formatter)
Populate the EPL.
|
public Filter getFilter()
public String getOptionalAsName()
public void setFilter(Filter filter)
filter
- filter to setpublic void setOptionalAsName(String optionalAsName)
optionalAsName
- tag namepublic void toEPL(StringWriter writer, EPStatementFormatter formatter)
ContextDescriptorCondition
toEPL
in interface ContextDescriptorCondition
writer
- outputformatter
- formatterCopyright © 2005–2020. All rights reserved.