Class LogMessageEscapeProcessor
- java.lang.Object
-
- jetbrains.buildServer.web.buildlog.LogMessageEscapeProcessor
-
- All Implemented Interfaces:
TeamCityExtension
,PositionAware
,PositionConstraintAware
,LogMessageProcessorExtension
public class LogMessageEscapeProcessor extends Object implements LogMessageProcessorExtension
Created by Nikita.Skvortsov date: 10.06.2015.
-
-
Constructor Summary
Constructors Constructor Description LogMessageEscapeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraint
getConstraint()
Constraint to be respected during objects sorting.String
process(String message, LogMessage originalMessage, BuildPromotion promotion)
Process single build log line.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.web.buildlog.LogMessageProcessorExtension
getOrderId
-
-
-
-
Method Detail
-
process
@NotNull public String process(@NotNull String message, @NotNull LogMessage originalMessage, @Nullable BuildPromotion promotion)
Description copied from interface:LogMessageProcessorExtension
Process single build log line.- Specified by:
process
in interfaceLogMessageProcessorExtension
- 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.
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAware
Constraint to be respected during objects sorting.- Specified by:
getConstraint
in interfacePositionConstraintAware
- Returns:
- position constraint
-
-