Package org.apache.maven.cli.event
Class ExecutionEventLogger
java.lang.Object
org.apache.maven.execution.AbstractExecutionListener
org.apache.maven.cli.event.ExecutionEventLogger
- All Implemented Interfaces:
ExecutionListener
Logs execution events to logger, eventually user-supplied.
-
Constructor Summary
ConstructorDescriptionExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory) ExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger) ExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger, int terminalWidth) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
forkStarted
(ExecutionEvent event) >>> mojo-artifactId:version:goal (mojo-executionId) > :forked-goal @ project-artifactId >>>void
forkSucceeded
(ExecutionEvent event) <<< mojo-artifactId:version:goal (mojo-executionId) < :forked-goal @ project-artifactId <<<void
mojoSkipped
(ExecutionEvent event) void
mojoStarted
(ExecutionEvent event) --- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---void
void
projectSkipped
(ExecutionEvent event) void
projectStarted
(ExecutionEvent event) void
sessionEnded
(ExecutionEvent event) void
sessionStarted
(ExecutionEvent event) Methods inherited from class org.apache.maven.execution.AbstractExecutionListener
forkedProjectFailed, forkedProjectSucceeded, forkFailed, mojoFailed, mojoSucceeded, projectFailed, projectSucceeded
-
Constructor Details
-
ExecutionEventLogger
-
ExecutionEventLogger
-
ExecutionEventLogger
public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger, int terminalWidth)
-
-
Method Details
-
projectDiscoveryStarted
- Specified by:
projectDiscoveryStarted
in interfaceExecutionListener
- Overrides:
projectDiscoveryStarted
in classAbstractExecutionListener
-
sessionStarted
- Specified by:
sessionStarted
in interfaceExecutionListener
- Overrides:
sessionStarted
in classAbstractExecutionListener
-
sessionEnded
- Specified by:
sessionEnded
in interfaceExecutionListener
- Overrides:
sessionEnded
in classAbstractExecutionListener
-
projectSkipped
- Specified by:
projectSkipped
in interfaceExecutionListener
- Overrides:
projectSkipped
in classAbstractExecutionListener
-
projectStarted
- Specified by:
projectStarted
in interfaceExecutionListener
- Overrides:
projectStarted
in classAbstractExecutionListener
-
mojoSkipped
- Specified by:
mojoSkipped
in interfaceExecutionListener
- Overrides:
mojoSkipped
in classAbstractExecutionListener
-
mojoStarted
--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
- Specified by:
mojoStarted
in interfaceExecutionListener
- Overrides:
mojoStarted
in classAbstractExecutionListener
-
forkStarted
>>> mojo-artifactId:version:goal (mojo-executionId) > :forked-goal @ project-artifactId >>>
>>> mojo-artifactId:version:goal (mojo-executionId) > [lifecycle]phase @ project-artifactId >>>
- Specified by:
forkStarted
in interfaceExecutionListener
- Overrides:
forkStarted
in classAbstractExecutionListener
-
forkSucceeded
<<< mojo-artifactId:version:goal (mojo-executionId) < :forked-goal @ project-artifactId <<<
<<< mojo-artifactId:version:goal (mojo-executionId) < [lifecycle]phase @ project-artifactId <<<
- Specified by:
forkSucceeded
in interfaceExecutionListener
- Overrides:
forkSucceeded
in classAbstractExecutionListener
-
forkedProjectStarted
- Specified by:
forkedProjectStarted
in interfaceExecutionListener
- Overrides:
forkedProjectStarted
in classAbstractExecutionListener
-