Package echo.output
Class MavenEchoOutput
java.lang.Object
echo.output.MavenEchoOutput
- All Implemented Interfaces:
EchoOutput
Wraps the Maven standard output to decouple from output functionality
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMavenEchoOutput
(org.apache.maven.plugin.logging.Log wrappedLog) Creates an MavenEchoOutput wrapper -
Method Summary
Modifier and TypeMethodDescriptionvoid
The message will be output with debug level (maven debugging must be turned on to see message)void
The message will be output with error levelvoid
The message will be output with a failure level (exception will occur)void
The message will be output with info level (default level)private <E extends Throwable>
voidvoid
The message will be output with warning level
-
Field Details
-
wrappedLog
private final org.apache.maven.plugin.logging.Log wrappedLog
-
-
Constructor Details
-
MavenEchoOutput
public MavenEchoOutput(org.apache.maven.plugin.logging.Log wrappedLog) Creates an MavenEchoOutput wrapper
-
-
Method Details
-
fail
Description copied from interface:EchoOutput
The message will be output with a failure level (exception will occur)- Specified by:
fail
in interfaceEchoOutput
-
error
Description copied from interface:EchoOutput
The message will be output with error level- Specified by:
error
in interfaceEchoOutput
-
warning
Description copied from interface:EchoOutput
The message will be output with warning level- Specified by:
warning
in interfaceEchoOutput
-
info
Description copied from interface:EchoOutput
The message will be output with info level (default level)- Specified by:
info
in interfaceEchoOutput
-
debug
Description copied from interface:EchoOutput
The message will be output with debug level (maven debugging must be turned on to see message)- Specified by:
debug
in interfaceEchoOutput
-
throwAsUnchecked
- Throws:
E
-