|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ShellToken> org.jclouds.scriptbuilder.domain.ShellToken
public enum ShellToken
Constants used in shell scripting.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static Map<String,String> tokenValueMap(OsFamily family)
public String to(OsFamily family)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |