public final class FilterSpecParamConstant extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY, lookupable
Constructor and Description |
---|
FilterSpecParamConstant(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
Object filterConstant)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
getFilterConstant()
Returns the constant value.
|
Object |
getFilterValue(MatchedEventMap matchedEvents,
AgentInstanceContext agentInstanceContext)
Return the filter parameter constant to filter for.
|
int |
hashCode() |
String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamConstant(FilterSpecLookupable lookupable, FilterOperator filterOperator, Object filterConstant) throws IllegalArgumentException
lookupable
- is the lookupablefilterOperator
- is the type of comparefilterConstant
- contains the value to match against the event's property valueIllegalArgumentException
- if an operator was supplied that does not take a single constant valuepublic Object getFilterValue(MatchedEventMap matchedEvents, AgentInstanceContext agentInstanceContext)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parametersagentInstanceContext
- contextpublic Object getFilterConstant()
public final String toString()
toString
in class FilterSpecParam
public boolean equals(Object o)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam