Interface Console
Deprecated.
Used to write information of a task run, out to the build log.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.Used to specify which environment variables are secure and shouldn't be printed literally. -
Method Summary
Modifier and TypeMethodDescriptionvoidprintEnvironment(Map<String, String> environment, Console.SecureEnvVarSpecifier secureEnvVarSpecifier) Deprecated.Print details about the environment specified in the argument into the build log.voidDeprecated.Print a line out to the build log.voidDeprecated.Setup the console to read the input stream as standard error.voidDeprecated.Setup the console to read the input stream as standard output.
-
Method Details
-
printLine
Deprecated.Print a line out to the build log.- Parameters:
line- Line to write.
-
readErrorOf
Deprecated.Setup the console to read the input stream as standard error. This is used to connect the output of a process, to the build log. This is usually used as: console.readErrorOf(process.getErrorStream()); where the "process" object is of typeProcess.- Parameters:
in- The input stream to read as standard error.
-
readOutputOf
Deprecated.Setup the console to read the input stream as standard output. This is used to connect the output of a process, to the build log. This is usually used as: console.readOutputOf(process.getInputStream()); where the "process" object is of typeProcess.- Parameters:
in- The input stream to read as standard output.
-
printEnvironment
void printEnvironment(Map<String, String> environment, Console.SecureEnvVarSpecifier secureEnvVarSpecifier) Deprecated.Print details about the environment specified in the argument into the build log.- Parameters:
environment- Environment to print details of.secureEnvVarSpecifier-Console.SecureEnvVarSpecifier
-