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 TypeMethodDescriptionvoidThe message will be output with debug level (maven debugging must be turned on to see message)voidThe message will be output with error levelvoidThe message will be output with a failure level (exception will occur)voidThe message will be output with info level (default level)private <E extends Throwable>
voidvoidThe 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:EchoOutputThe message will be output with a failure level (exception will occur)- Specified by:
failin interfaceEchoOutput
-
error
Description copied from interface:EchoOutputThe message will be output with error level- Specified by:
errorin interfaceEchoOutput
-
warning
Description copied from interface:EchoOutputThe message will be output with warning level- Specified by:
warningin interfaceEchoOutput
-
info
Description copied from interface:EchoOutputThe message will be output with info level (default level)- Specified by:
infoin interfaceEchoOutput
-
debug
Description copied from interface:EchoOutputThe message will be output with debug level (maven debugging must be turned on to see message)- Specified by:
debugin interfaceEchoOutput
-
throwAsUnchecked
- Throws:
E
-