Interface LogMessageProcessorExtension
-
- All Superinterfaces:
PositionAware
,PositionConstraintAware
,TeamCityExtension
- All Known Implementing Classes:
LogMessageAnsiColorsProcessor
,LogMessageEscapeProcessor
,LogMessageMsgLinkProcessor
,LogMessageStackTraceProcessor
,LogMessageURLsProcessor
public interface LogMessageProcessorExtension extends TeamCityExtension, PositionAware
Extension point to apply simple processing to log lines. Intended to do simple processing inside a single build log line, e.g. turning urls into clickable links or processing ansi colored output. Created by Nikita.Skvortsov date: 01.06.2015.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getOrderId()
Returns object id that can be referenced by {PositionConstraint
}String
process(String message, LogMessage originalMessage, BuildPromotion promotion)
Process single build log line.-
Methods inherited from interface jetbrains.buildServer.util.positioning.PositionConstraintAware
getConstraint
-
-
-
-
Method Detail
-
process
@NotNull String process(@NotNull String message, @NotNull LogMessage originalMessage, @NotNull BuildPromotion promotion)
Process single build log line.- Parameters:
message
- build log string with escaped html (and possibly already processed by other LogMessageProcessorExtension)originalMessage
- corresponding log message entitypromotion
- promotion that produced the build log.- Returns:
- processed result.
- Since:
- 9.1
-
getOrderId
@NotNull default String getOrderId()
Description copied from interface:PositionAware
Returns object id that can be referenced by {PositionConstraint
}- Specified by:
getOrderId
in interfacePositionAware
- Returns:
- object id
-
-