Package me.julb.sdk.github.actions.kit
Interface SystemProxy
- All Known Implementing Classes:
SystemProxySystemImpl
interface SystemProxy
An interface proxyfying access to
System
functions. - Author:
- Julb.
-
Method Summary
-
Method Details
-
getenv
Gets the value of the given environment variable name.- Parameters:
name
- the name of the environment variable.- Returns:
- the value of the environment variable, or
null
if not exists.
-
println
void println()Prints a line feed on STDOUT. -
println
<T> void println(T message) Prints a message on STDOUT.- Type Parameters:
T
- the message object type.- Parameters:
message
- the message to print.
-
exit
void exit(int status) Exits the program with the given code.- Parameters:
status
- the status code.
-