| Package | Description |
|---|---|
| org.gradle |
Classes for embedding Gradle.
|
| org.gradle.api.logging |
Classes for managing logging in Gradle.
|
| org.gradle.initialization | |
| org.gradle.logging | |
| org.gradle.logging.internal | |
| org.gradle.testfixtures.internal |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
GradleLauncher.addStandardErrorListener(StandardOutputListener listener)
Adds a
StandardOutputListener to this build instance. |
abstract void |
GradleLauncher.addStandardOutputListener(StandardOutputListener listener)
Adds a
StandardOutputListener to this build instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggingOutput.addStandardErrorListener(StandardOutputListener listener)
Adds a listener which receives output written to standard error by the Gradle logging system.
|
void |
LoggingOutput.addStandardOutputListener(StandardOutputListener listener)
Adds a listener which receives output written to standard output by the Gradle logging system.
|
void |
LoggingOutput.removeStandardErrorListener(StandardOutputListener listener)
Removes a listener from standard error.
|
void |
LoggingOutput.removeStandardOutputListener(StandardOutputListener listener)
Removes a listener from standard output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultGradleLauncher.addStandardErrorListener(StandardOutputListener listener)
Adds a
StandardOutputListener to this build instance. |
void |
DefaultGradleLauncher.addStandardOutputListener(StandardOutputListener listener)
Adds a
StandardOutputListener to this build instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
StandardOutputRedirector.redirectStandardErrorTo(StandardOutputListener stdErrDestination) |
void |
StandardOutputRedirector.redirectStandardOutputTo(StandardOutputListener stdOutDestination) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLineChoppingStyledTextOutput
A
StyledTextOutput that breaks text up into lines. |
class |
AbstractStyledTextOutput
Subclasses need to implement
AbstractStyledTextOutput.doAppend(String), and optionally AbstractStyledTextOutput.doStyleChange(org.gradle.logging.StyledTextOutput.Style). |
class |
BufferingStyledTextOutput
A
StyledTextOutput which buffers the content written to it, for later forwarding to another StyledTextOutput instance. |
class |
LinePrefixingStyledTextOutput
A
StyledTextOutput which prefixes each line of text with some fixed prefix. |
class |
LoggingBackedStyledTextOutput
A
StyledTextOutput implementation which generates events of type StyledTextOutputEvent. |
class |
StreamBackedStandardOutputListener |
class |
StreamingStyledTextOutput
A
StyledTextOutput implementation which writes text to some char stream. |
| Constructor and Description |
|---|
StreamingStyledTextOutput(StandardOutputListener listener)
Creates a text output which forwards text to the given listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoOpLoggingManager.addStandardErrorListener(StandardOutputListener listener) |
void |
NoOpLoggingManager.addStandardOutputListener(StandardOutputListener listener) |
void |
NoOpLoggingManager.removeStandardErrorListener(StandardOutputListener listener) |
void |
NoOpLoggingManager.removeStandardOutputListener(StandardOutputListener listener) |
Copyright © 2013. All rights reserved