public class SubstringVar extends MultipartVar
The format for this var is one of the following:
Since this is a MultipartVar
, any variables contained in the result will be recursively resolved.
Likewise, if the arguments contain any variables, those will be resolved before they are passed to this var.
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of this variable.
|
Constructor and Description |
---|
SubstringVar()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
resolve(VarResolverSession session,
String[] args)
The interface that needs to be implemented for this interface.
|
resolve
allowNested, allowRecurse, canResolve, doResolve, getName
public static final String NAME
public SubstringVar()
public String resolve(VarResolverSession session, String[] args)
MultipartVar
resolve
in class MultipartVar
session
- The session object used for a single instance of a string resolution.args
- The arguments inside the variable.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.