Class FlowsMessageProcessor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.processors.FlowsMessageProcessor
-
- All Implemented Interfaces:
LowLevelMessageProcessor
public class FlowsMessageProcessor extends Object implements LowLevelMessageProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowsMessageProcessor.FlowInfo
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.buildLog.LowLevelMessageProcessor
LowLevelMessageProcessor.Result
-
-
Constructor Summary
Constructors Constructor Description FlowsMessageProcessor(Map<Integer,FlowsMessageProcessor.FlowInfo> flows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowsMessageProcessor.FlowInfo
addFlow(Integer flowId, Integer parentFlowId, Map<Integer,FlowsMessageProcessor.FlowInfo> flows)
LowLevelMessageProcessor.Result
preProcess(IndexRecord indexRecord, int index)
Called before loading message data from the build log.boolean
process(LogMessageInfo message, int index)
Called for each message loaded from the build log.
-
-
-
Constructor Detail
-
FlowsMessageProcessor
public FlowsMessageProcessor(@NotNull Map<Integer,FlowsMessageProcessor.FlowInfo> flows)
-
-
Method Detail
-
preProcess
@NotNull public LowLevelMessageProcessor.Result preProcess(@NotNull IndexRecord indexRecord, int index)
Description copied from interface:LowLevelMessageProcessor
Called before loading message data from the build log.- Specified by:
preProcess
in interfaceLowLevelMessageProcessor
- Parameters:
indexRecord
- index recordindex
- the record index which is the number in the index file- Returns:
- result of filtering
-
process
public boolean process(@NotNull LogMessageInfo message, int index)
Description copied from interface:LowLevelMessageProcessor
Called for each message loaded from the build log.- Specified by:
process
in interfaceLowLevelMessageProcessor
- Parameters:
message
- log message- Returns:
- true if processing should be continued and false otherwise
-
addFlow
@NotNull public FlowsMessageProcessor.FlowInfo addFlow(@NotNull Integer flowId, @Nullable Integer parentFlowId, @NotNull Map<Integer,FlowsMessageProcessor.FlowInfo> flows)
-
-