Package org.apache.nifi.flowanalysis
Class ComponentAnalysisResult
java.lang.Object
org.apache.nifi.flowanalysis.AbstractAnalysisResult
org.apache.nifi.flowanalysis.ComponentAnalysisResult
Holds information about a component violating a
FlowAnalysisRule
-
Field Summary
Fields inherited from class org.apache.nifi.flowanalysis.AbstractAnalysisResult
explanation, issueId, message
-
Constructor Summary
ConstructorsConstructorDescriptionComponentAnalysisResult
(String issueId, String message) ComponentAnalysisResult
(String issueId, String message, String explanation) -
Method Summary
Methods inherited from class org.apache.nifi.flowanalysis.AbstractAnalysisResult
getExplanation, getIssueId, getMessage, toString
-
Constructor Details
-
ComponentAnalysisResult
- 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
- 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 messageexplanation
- A detailed explanation of the violation
-