public abstract class DefaultingVar extends SimpleVar
For example, to resolve the system property
Subclasses must implement the following method:
| Constructor and Description |
|---|
DefaultingVar(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
doResolve(VarResolverSession session,
String s)
The method called from
VarResolver. |
allowNested, allowRecurse, canResolve, getName, resolvepublic DefaultingVar(String name)
name - The name of this variable.public String doResolve(VarResolverSession session, String s) throws Exception
VarVarResolver.
Can be overridden to intercept the request and do special handling.
Default implementation simply calls resolve(String).
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.