7f9895cf57f88ccd301838e13dce37007a71f721
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 7 | ||
Extract Method private evaluateRuleCondition(rule Rule, message Message, msgId String, pipeline Pipeline, context EvaluationContext, rulesToRun ArrayList<Rule>, interpreterListener InterpreterListener) : boolean extracted from private processForResolvedPipelines(message Message, msgId String, pipelines Set<Pipeline>, interpreterListener InterpreterListener) : List<Message> in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private evaluateStage(stage Stage, message Message, msgId String, result List<Message>, pipelinesToSkip Set<Pipeline>, interpreterListener InterpreterListener) : void extracted from private processForResolvedPipelines(message Message, msgId String, pipelines Set<Pipeline>, interpreterListener InterpreterListener) : List<Message> in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private selectPipelines(interpreterListener InterpreterListener, processingBlacklist Set<Tuple2<String,String>>, message Message, initialStreamIds Set<String>, streamConnection ImmutableSetMultimap<String,Pipeline>) : ImmutableSet<Pipeline> extracted from public process(messages Messages, interpreterListener InterpreterListener, state State) : Messages in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private executeRuleActions(rule Rule, message Message, msgId String, pipeline Pipeline, context EvaluationContext, interpreterListener InterpreterListener) : boolean extracted from private processForResolvedPipelines(message Message, msgId String, pipelines Set<Pipeline>, interpreterListener InterpreterListener) : List<Message> in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private updateStreamBlacklist(processingBlacklist Set<Tuple2<String,String>>, message Message, initialStreamIds Set<String>) : boolean extracted from public process(messages Messages, interpreterListener InterpreterListener, state State) : Messages in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private evaluateStatement(message Message, interpreterListener InterpreterListener, pipeline Pipeline, context EvaluationContext, rule Rule, statement Statement) : boolean extracted from private processForResolvedPipelines(message Message, msgId String, pipelines Set<Pipeline>, interpreterListener InterpreterListener) : List<Message> in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Extract Method private potentiallyDropFilteredMessage(message Message) : void extracted from public process(messages Messages, interpreterListener InterpreterListener, state State) : Messages in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To | |
Rename Parameter | 1 | ||
Rename Parameter pipelines : Set<String> to pipelineIds : Set<String> in method public processForPipelines(message Message, pipelineIds Set<String>, interpreterListener InterpreterListener, state State) : List<Message> in class org.graylog.plugins.pipelineprocessor.processors.PipelineInterpreter | From | To |