public class ManifestFileVar extends DefaultingVar
The format for this var is
This variable resolver requires that a ManifestFile
object be made available by calling
the init(ManifestFile)
method.
Since this is a SimpleVar
, 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.
ManifestFile
,
org.apache.juneau.svl
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of this variable.
|
Constructor and Description |
---|
ManifestFileVar()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
init(ManifestFile manifestFile)
Initialize the manifest file for this variable.
|
String |
resolve(VarResolverSession session,
String key)
The interface that needs to be implemented for subclasses of
SimpleVar . |
doResolve
allowNested, allowRecurse, canResolve, getName
public static final String NAME
public ManifestFileVar()
public static void init(ManifestFile manifestFile)
manifestFile
- The parsed manifest file.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.