public class StaticParams extends Object implements org.apache.camel.Expression
Exchange
argument.Constructor and Description |
---|
StaticParams(Object... params)
Creates a new
StaticParams expression. |
Modifier and Type | Method and Description |
---|---|
<T> T |
evaluate(org.apache.camel.Exchange exchange,
Class<T> type)
Evaluates to the params array used to construct this expression.
|
public StaticParams(Object... params)
StaticParams
expression.params
- the constant evaluation result.public <T> T evaluate(org.apache.camel.Exchange exchange, Class<T> type)
evaluate
in interface org.apache.camel.Expression
exchange
- ignored.type
- ignored.Copyright © 2018 Open eHealth Foundation. All rights reserved.