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
Deprecated.
Logs execution events to logger, eventually user-supplied.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
Deprecated.private static final int
Deprecated.private int
Deprecated.private final org.slf4j.Logger
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private int
Deprecated.private final MessageBuilderFactory
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private int
Deprecated.private int
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory) Deprecated.ExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger) Deprecated.ExecutionEventLogger
(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger, int terminalWidth) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
append
(MessageBuilder buffer, MojoExecution me) Deprecated.private void
append
(MessageBuilder buffer, MavenProject project) Deprecated.private void
appendForkInfo
(MessageBuilder buffer, MojoDescriptor md) Deprecated.private MessageBuilder
builder()
Deprecated.private static String
chars
(char c, int count) Deprecated.void
Deprecated.void
forkStarted
(ExecutionEvent event) Deprecated.>>> mojo-artifactId:version:goal (mojo-executionId) > :forked-goal @ project-artifactId >>>void
forkSucceeded
(ExecutionEvent event) Deprecated.<<< mojo-artifactId:version:goal (mojo-executionId) < :forked-goal @ project-artifactId <<<private void
infoLine
(char c) Deprecated.private void
Deprecated.private void
init()
Deprecated.private boolean
isSingleVersionedReactor
(MavenSession session) Deprecated.private void
logReactorSummary
(MavenSession session) Deprecated.private void
logResult
(MavenSession session) Deprecated.private void
logStats
(MavenSession session) Deprecated.void
mojoSkipped
(ExecutionEvent event) Deprecated.void
mojoStarted
(ExecutionEvent event) Deprecated.--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---void
Deprecated.void
projectSkipped
(ExecutionEvent event) Deprecated.void
projectStarted
(ExecutionEvent event) Deprecated.void
sessionEnded
(ExecutionEvent event) Deprecated.void
sessionStarted
(ExecutionEvent event) Deprecated.Methods inherited from class org.apache.maven.execution.AbstractExecutionListener
forkedProjectFailed, forkedProjectSucceeded, forkFailed, mojoFailed, mojoSucceeded, projectFailed, projectSucceeded
-
Field Details
-
MAX_LOG_PREFIX_SIZE
private static final int MAX_LOG_PREFIX_SIZEDeprecated.- See Also:
-
PROJECT_STATUS_SUFFIX_SIZE
private static final int PROJECT_STATUS_SUFFIX_SIZEDeprecated.- See Also:
-
MIN_TERMINAL_WIDTH
private static final int MIN_TERMINAL_WIDTHDeprecated.- See Also:
-
DEFAULT_TERMINAL_WIDTH
private static final int DEFAULT_TERMINAL_WIDTHDeprecated.- See Also:
-
MAX_TERMINAL_WIDTH
private static final int MAX_TERMINAL_WIDTHDeprecated.- See Also:
-
MAX_PADDED_BUILD_TIME_DURATION_LENGTH
private static final int MAX_PADDED_BUILD_TIME_DURATION_LENGTHDeprecated.- See Also:
-
messageBuilderFactory
Deprecated. -
logger
private final org.slf4j.Logger loggerDeprecated. -
terminalWidth
private int terminalWidthDeprecated. -
lineLength
private int lineLengthDeprecated. -
maxProjectNameLength
private int maxProjectNameLengthDeprecated. -
totalProjects
private int totalProjectsDeprecated. -
currentVisitedProjectCount
private volatile int currentVisitedProjectCountDeprecated.
-
-
Constructor Details
-
ExecutionEventLogger
Deprecated. -
ExecutionEventLogger
Deprecated. -
ExecutionEventLogger
public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, org.slf4j.Logger logger, int terminalWidth) Deprecated.
-
-
Method Details
-
chars
Deprecated. -
infoLine
private void infoLine(char c) Deprecated. -
infoMain
Deprecated. -
init
private void init()Deprecated. -
projectDiscoveryStarted
Deprecated.- Specified by:
projectDiscoveryStarted
in interfaceExecutionListener
- Overrides:
projectDiscoveryStarted
in classAbstractExecutionListener
-
sessionStarted
Deprecated.- Specified by:
sessionStarted
in interfaceExecutionListener
- Overrides:
sessionStarted
in classAbstractExecutionListener
-
sessionEnded
Deprecated.- Specified by:
sessionEnded
in interfaceExecutionListener
- Overrides:
sessionEnded
in classAbstractExecutionListener
-
isSingleVersionedReactor
Deprecated. -
logReactorSummary
Deprecated. -
logResult
Deprecated. -
builder
Deprecated. -
logStats
Deprecated. -
projectSkipped
Deprecated.- Specified by:
projectSkipped
in interfaceExecutionListener
- Overrides:
projectSkipped
in classAbstractExecutionListener
-
projectStarted
Deprecated.- Specified by:
projectStarted
in interfaceExecutionListener
- Overrides:
projectStarted
in classAbstractExecutionListener
-
mojoSkipped
Deprecated.- Specified by:
mojoSkipped
in interfaceExecutionListener
- Overrides:
mojoSkipped
in classAbstractExecutionListener
-
mojoStarted
Deprecated.--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
- Specified by:
mojoStarted
in interfaceExecutionListener
- Overrides:
mojoStarted
in classAbstractExecutionListener
-
forkStarted
Deprecated.>>> 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
Deprecated.<<< 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
-
append
Deprecated. -
appendForkInfo
Deprecated. -
append
Deprecated. -
forkedProjectStarted
Deprecated.- Specified by:
forkedProjectStarted
in interfaceExecutionListener
- Overrides:
forkedProjectStarted
in classAbstractExecutionListener
-