public interface Console
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Console.SecureEnvVarSpecifier
Used to specify which environment variables are secure and shouldn't be printed literally.
|
| Modifier and Type | Method and Description |
|---|---|
void |
printEnvironment(Map<String,String> environment,
Console.SecureEnvVarSpecifier secureEnvVarSpecifier)
Print details about the environment specified in the argument into the build log.
|
void |
printLine(String line)
Print a line out to the build log.
|
void |
readErrorOf(InputStream in)
Setup the console to read the input stream as standard error.
|
void |
readOutputOf(InputStream in)
Setup the console to read the input stream as standard output.
|
void printLine(String line)
line - Line to write.void readErrorOf(InputStream in)
Process.in - The input stream to read as standard error.void readOutputOf(InputStream in)
Process.in - The input stream to read as standard output.void printEnvironment(Map<String,String> environment, Console.SecureEnvVarSpecifier secureEnvVarSpecifier)
environment - Environment to print details of.secureEnvVarSpecifier - Console.SecureEnvVarSpecifierCopyright © 2014 ThoughtWorks, Inc. Go Version: 16.2.1-175