@FunctionalInterface public interface Lambda
By default, a lambda is spec compliant. I.e. the input type is
Lambda.InputType.LITERAL and isReturnValueInterpolated() returns
true.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Lambda.InputType
Text input type.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ONEOFF_LAMBDA_TEMPLATE_PREFIX
Every time the return value is interpolated a new template is compiled.
|
| Modifier and Type | Method and Description |
|---|---|
default Lambda.InputType |
getInputType() |
String |
invoke(String text) |
default boolean |
isReturnValueInterpolated() |
static final String ONEOFF_LAMBDA_TEMPLATE_PREFIX
String invoke(String text)
text - The section contents (unprocessed or processed - depends on
the input type) in case of section tag, null in
case of variable tagLambda.InputType,
isReturnValueInterpolated()default Lambda.InputType getInputType()
default boolean isReturnValueInterpolated()
true if the return value should be parsed and
interpolated, false otherwiseCopyright © 2017. All rights reserved.