Interface Console
-
@Deprecated public interface ConsoleDeprecated.Used to write information of a task run, out to the build log.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConsole.SecureEnvVarSpecifierDeprecated.Used to specify which environment variables are secure and shouldn't be printed literally.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidprintEnvironment(java.util.Map<java.lang.String,java.lang.String> environment, Console.SecureEnvVarSpecifier secureEnvVarSpecifier)Deprecated.Print details about the environment specified in the argument into the build log.voidprintLine(java.lang.String line)Deprecated.Print a line out to the build log.voidreadErrorOf(java.io.InputStream in)Deprecated.Setup the console to read the input stream as standard error.voidreadOutputOf(java.io.InputStream in)Deprecated.Setup the console to read the input stream as standard output.
-
-
-
Method Detail
-
printLine
void printLine(java.lang.String line)
Deprecated.Print a line out to the build log.- Parameters:
line- Line to write.
-
readErrorOf
void readErrorOf(java.io.InputStream in)
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
void readOutputOf(java.io.InputStream in)
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(java.util.Map<java.lang.String,java.lang.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
-
-