java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.base.BashHelper |
Helper for bash
terminals.
Primary use-case: 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.