public enum ShellToken extends Enum<ShellToken>
Enum Constant and Description |
---|
ARGS |
BEGIN_FUNCTIONS |
BEGIN_SCRIPT |
CD |
CLOSE_FD |
END_FUNCTIONS |
END_SCRIPT |
ESCVAR |
EXIT |
EXPORT |
FNCE
End the function.
|
FNCL
Left hand side of the function declaration directly before the name of the function.
|
FNCR
Right hand side of the function declaration directly after the name of the function.
|
FS |
LF |
LIBRARY_PATH_VARIABLE |
MD |
PS |
REM |
RETURN |
RM |
ROOT |
SH |
SOURCE |
TMP |
UID |
VARL |
VARR |
VQ
If variable values need to be quoted when they include spaces, this will contain quotation
mark
|
Modifier and Type | Method and Description |
---|---|
String |
to(OsFamily family) |
static Map<String,String> |
tokenValueMap(OsFamily family) |
static ShellToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellToken FS
public static final ShellToken RM
public static final ShellToken CD
public static final ShellToken TMP
public static final ShellToken UID
public static final ShellToken ROOT
public static final ShellToken CLOSE_FD
public static final ShellToken PS
public static final ShellToken MD
public static final ShellToken ESCVAR
public static final ShellToken VQ
public static final ShellToken FNCL
public static final ShellToken FNCR
public static final ShellToken FNCE
public static final ShellToken BEGIN_SCRIPT
public static final ShellToken END_SCRIPT
public static final ShellToken BEGIN_FUNCTIONS
public static final ShellToken EXIT
public static final ShellToken END_FUNCTIONS
public static final ShellToken EXPORT
public static final ShellToken LF
public static final ShellToken SH
public static final ShellToken SOURCE
public static final ShellToken REM
public static final ShellToken RETURN
public static final ShellToken ARGS
public static final ShellToken VARL
public static final ShellToken VARR
public static final ShellToken LIBRARY_PATH_VARIABLE
public static ShellToken[] values()
for (ShellToken c : ShellToken.values()) System.out.println(c);
public static ShellToken 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 nullCopyright © 2009-2012 jclouds. All Rights Reserved.