Class ComponentAnalysisResult

java.lang.Object
org.apache.nifi.flowanalysis.AbstractAnalysisResult
org.apache.nifi.flowanalysis.ComponentAnalysisResult

public class ComponentAnalysisResult extends AbstractAnalysisResult
Holds information about a component violating a FlowAnalysisRule
  • Constructor Details

    • ComponentAnalysisResult

      public ComponentAnalysisResult(String issueId, String message)
      Parameters:
      issueId - A rule-defined id that corresponds to a unique type of issue recognized by the rule. Newer analysis runs may produce a result with the same issueId in which case the old one will be overwritten (or recreated if it is the same in other aspects as well). However, if the previous result was disabled the new one will be disabled as well.
      message - A violation message
    • ComponentAnalysisResult

      public ComponentAnalysisResult(String issueId, String message, String explanation)
      Parameters:
      issueId - A rule-defined id that corresponds to a unique type of issue recognized by the rule. Newer analysis runs may produce a result with the same issueId in which case the old one will be overwritten (or recreated if it is the same in other aspects as well). However, if the previous result was disabled the new one will be disabled as well.
      message - A violation message
      explanation - A detailed explanation of the violation