public class ExecutionContextVariableResolver extends Object implements VariableResolver
ExecutionContext
. The
ExecutionContextVariableResolver.Variable
constants define variable names for execution context
values.Modifier and Type | Class and Description |
---|---|
static class |
ExecutionContextVariableResolver.Variable
Variable name constants for
ExecutionContext values. |
Constructor and Description |
---|
ExecutionContextVariableResolver(ExecutionContext executionContext)
Constructor with execution context.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue(String name)
Returns the value currently set for the variable given by its name, or
null if no such variable exists.
|
String |
toString() |
public ExecutionContextVariableResolver(ExecutionContext executionContext)
executionContext
- the execution context with values resolved by this classpublic Object getValue(String name)
VariableResolver
getValue
in interface VariableResolver
name
- the variable nameCopyright © 2024. All rights reserved.