org.mule.module.ognl.filters
Class OGNLFilter
java.lang.Object
org.mule.module.ognl.filters.OGNLFilter
- All Implemented Interfaces:
- Filter
public class OGNLFilter
- extends java.lang.Object
- implements Filter
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
OGNLFilter
public OGNLFilter()
getExpression
public java.lang.String getExpression()
setExpression
public void setExpression(java.lang.String expression)
throws ConfigurationException
- Sets the expression for this filter. The argument must be a valid expression
as described in the OGNL documentation.
- Parameters:
expression
- the expression to use for message evaluation
- Throws:
ConfigurationException
- if the expression cannot be parsed- See Also:
Ognl.parseExpression(String)
accept
public boolean accept(MuleMessage message)
- Description copied from interface:
Filter
- Check a given message against this filter.
- Specified by:
accept
in interface Filter
- Parameters:
message
- a non null message to filter.
- Returns:
true
if the message matches the filter
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.