Package org.jclouds.scriptbuilder.domain
Enum Class ShellToken
- All Implemented Interfaces:
Serializable
,Comparable<ShellToken>
,java.lang.constant.Constable
Constants used in shell scripting.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnd the function.Left hand side of the function declaration directly before the name of the function.Right hand side of the function declaration directly after the name of the function.If variable values need to be quoted when they include spaces, this will contain quotation mark -
Method Summary
Modifier and TypeMethodDescriptiontokenValueMap
(OsFamily family) static ShellToken
Returns the enum constant of this class with the specified name.static ShellToken[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FS
-
RM
-
CD
-
TMP
-
UID
-
ROOT
-
CLOSE_FD
-
PS
-
MD
-
ESCVAR
-
VQ
If variable values need to be quoted when they include spaces, this will contain quotation mark -
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. opens the code block -
FNCE
End the function. exits successfully and closes the code block. -
BEGIN_SCRIPT
-
END_SCRIPT
-
BEGIN_FUNCTIONS
-
EXIT
-
END_FUNCTIONS
-
EXPORT
-
LF
-
SH
-
SOURCE
-
REM
-
RETURN
-
ARGS
-
VARL
-
VARR
-
LIBRARY_PATH_VARIABLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
tokenValueMap
-
to
-