public class ExpressionHelper extends Object implements org.springframework.context.ApplicationContextAware, ValueEvaluator
| Modifier and Type | Class and Description |
|---|---|
class |
ExpressionHelper.ELExpressionHandler |
| Modifier and Type | Field and Description |
|---|---|
static HighlightRobotLogger |
LOG |
| Constructor and Description |
|---|
ExpressionHelper(javax.el.ExpressionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(String expression) |
void |
evaluationShouldBe(String expression,
Object expected) |
void |
evaluationShouldBeFalse(String expression) |
void |
evaluationShouldBeNull(String expression) |
void |
evaluationShouldBeTrue(String expression) |
void |
evaluationShouldNotBeNull(String expression) |
Object |
getValue(Object result) |
boolean |
isSupported(String expression) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
Object |
silentEvaluate(Object param) |
Object |
variableScope(List<Object> variables,
Callable<Object> callable) |
void |
variableScope(List<Object> variables,
Runnable runnable) |
public static final HighlightRobotLogger LOG
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void evaluationShouldBe(String expression, Object expected) throws Exception
Exceptionpublic void evaluationShouldBeNull(String expression) throws Exception
Exceptionpublic void evaluationShouldNotBeNull(String expression) throws Exception
Exceptionpublic void evaluationShouldBeTrue(String expression) throws Exception
Exceptionpublic void evaluationShouldBeFalse(String expression) throws Exception
Exceptionpublic Object variableScope(List<Object> variables, Callable<Object> callable) throws Exception
Exceptionpublic void variableScope(List<Object> variables, Runnable runnable) throws Exception
Exceptionpublic boolean isSupported(String expression)
public Object getValue(Object result)
getValue in interface ValueEvaluatorCopyright © 2015. All Rights Reserved.