Package io.micronaut.maven
Class InvocationResultWithOutput.PerGoalOutputHandler
java.lang.Object
io.micronaut.maven.InvocationResultWithOutput.PerGoalOutputHandler
- All Implemented Interfaces:
 org.apache.maven.shared.invoker.InvocationOutputHandler,org.apache.maven.shared.utils.cli.StreamConsumer
- Enclosing class:
 - InvocationResultWithOutput
 
public static class InvocationResultWithOutput.PerGoalOutputHandler
extends Object
implements org.apache.maven.shared.invoker.InvocationOutputHandler
An 
InvocationOutputHandler that can provide the output of each goals separately.- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
PerGoalOutputHandler
public PerGoalOutputHandler() 
 - 
 - 
Method Details
- 
consumeLine
- Specified by:
 consumeLinein interfaceorg.apache.maven.shared.utils.cli.StreamConsumer
 - 
getOutput
- Parameters:
 pluginGoalKey- plugin/goal formatted as pluginId:goal, e.g.: compiler:compile- Returns:
 - the output of the given plugin goal key, with log level prefixes and build summary stripped out.
 
 - 
getOutput
- Returns:
 - the complete output, without log prefixes or trailing summary lines.
 
 
 -