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 intDeprecated.private static final intDeprecated.private intDeprecated.private final org.slf4j.LoggerDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private intDeprecated.private final MessageBuilderFactoryDeprecated.private static final intDeprecated.private static final intDeprecated.private intDeprecated.private intDeprecated. -
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 voidappend(MessageBuilder buffer, MojoExecution me) Deprecated.private voidappend(MessageBuilder buffer, MavenProject project) Deprecated.private voidappendForkInfo(MessageBuilder buffer, MojoDescriptor md) Deprecated.private MessageBuilderbuilder()Deprecated.private static Stringchars(char c, int count) Deprecated.voidDeprecated.voidforkStarted(ExecutionEvent event) Deprecated.>>> mojo-artifactId:version:goal (mojo-executionId) > :forked-goal @ project-artifactId >>>voidforkSucceeded(ExecutionEvent event) Deprecated.<<< mojo-artifactId:version:goal (mojo-executionId) < :forked-goal @ project-artifactId <<<private voidinfoLine(char c) Deprecated.private voidDeprecated.private voidinit()Deprecated.private booleanisSingleVersionedReactor(MavenSession session) Deprecated.private voidlogReactorSummary(MavenSession session) Deprecated.private voidlogResult(MavenSession session) Deprecated.private voidlogStats(MavenSession session) Deprecated.voidmojoSkipped(ExecutionEvent event) Deprecated.voidmojoStarted(ExecutionEvent event) Deprecated.--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---voidDeprecated.voidprojectSkipped(ExecutionEvent event) Deprecated.voidprojectStarted(ExecutionEvent event) Deprecated.voidsessionEnded(ExecutionEvent event) Deprecated.voidsessionStarted(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:
projectDiscoveryStartedin interfaceExecutionListener- Overrides:
projectDiscoveryStartedin classAbstractExecutionListener
-
sessionStarted
Deprecated.- Specified by:
sessionStartedin interfaceExecutionListener- Overrides:
sessionStartedin classAbstractExecutionListener
-
sessionEnded
Deprecated.- Specified by:
sessionEndedin interfaceExecutionListener- Overrides:
sessionEndedin classAbstractExecutionListener
-
isSingleVersionedReactor
Deprecated. -
logReactorSummary
Deprecated. -
logResult
Deprecated. -
builder
Deprecated. -
logStats
Deprecated. -
projectSkipped
Deprecated.- Specified by:
projectSkippedin interfaceExecutionListener- Overrides:
projectSkippedin classAbstractExecutionListener
-
projectStarted
Deprecated.- Specified by:
projectStartedin interfaceExecutionListener- Overrides:
projectStartedin classAbstractExecutionListener
-
mojoSkipped
Deprecated.- Specified by:
mojoSkippedin interfaceExecutionListener- Overrides:
mojoSkippedin classAbstractExecutionListener
-
mojoStarted
Deprecated.--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
- Specified by:
mojoStartedin interfaceExecutionListener- Overrides:
mojoStartedin 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:
forkStartedin interfaceExecutionListener- Overrides:
forkStartedin 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:
forkSucceededin interfaceExecutionListener- Overrides:
forkSucceededin classAbstractExecutionListener
-
append
Deprecated. -
appendForkInfo
Deprecated. -
append
Deprecated. -
forkedProjectStarted
Deprecated.- Specified by:
forkedProjectStartedin interfaceExecutionListener- Overrides:
forkedProjectStartedin classAbstractExecutionListener
-