java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.base.BashHelper |
Helper to interact with bash
terminals.
This helper can be used to retrieve bash environment variables (variables not defined system-wide).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BashHelper() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static String |
env(String varname)
Get an environment variable provided within a Bash interactive session.
| ||||||||||
static Map<String, String> |
env()
Get a key-value map of the environment variables provided within a Bash interactive session.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get an environment variable provided within a Bash interactive session.
varname | variable name |
---|
NullPointerException | if `varname` is null |
---|
Get a key-value map of the environment variables provided within a Bash interactive session.