public static enum ExecutionContextVariableResolver.Variable extends Enum<ExecutionContextVariableResolver.Variable>
ExecutionContext values.| Enum Constant and Description |
|---|
CurrentDirectory
Variable
$pwd to access
ExecutionContext.getCurrentDirectory(). |
Locale
Variable
$locale to access
ExecutionContext.getLocale(). |
TempDirectory
Variable
$temp to access
ExecutionContext.getTempDirectory(). |
User
Variable
$whoami to access ExecutionContext.getUser()
. |
UserHome
Variable
$home to access
ExecutionContext.getUserHome(). |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionContextVariableResolver.Variable |
getByVariableName(String variableName) |
String |
getUnixName() |
abstract Object |
getValue(ExecutionContext executionContext) |
static ExecutionContextVariableResolver.Variable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionContextVariableResolver.Variable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionContextVariableResolver.Variable CurrentDirectory
$pwd to access
ExecutionContext.getCurrentDirectory().public static final ExecutionContextVariableResolver.Variable User
$whoami to access ExecutionContext.getUser()
.public static final ExecutionContextVariableResolver.Variable UserHome
$home to access
ExecutionContext.getUserHome().public static final ExecutionContextVariableResolver.Variable TempDirectory
$temp to access
ExecutionContext.getTempDirectory().public static final ExecutionContextVariableResolver.Variable Locale
$locale to access
ExecutionContext.getLocale().public static ExecutionContextVariableResolver.Variable[] values()
for (ExecutionContextVariableResolver.Variable c : ExecutionContextVariableResolver.Variable.values()) System.out.println(c);
public static ExecutionContextVariableResolver.Variable valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getUnixName()
public static ExecutionContextVariableResolver.Variable getByVariableName(String variableName)
public abstract Object getValue(ExecutionContext executionContext)
Copyright © 2025. All rights reserved.