Package org.apache.nifi.flowanalysis
Class AbstractAnalysisResult
java.lang.Object
org.apache.nifi.flowanalysis.AbstractAnalysisResult
- Direct Known Subclasses:
ComponentAnalysisResult
,GroupAnalysisResult
Abstract class holding information about a
FlowAnalysisRule
violation.-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractAnalysisResult
(String issueId, String message, String explanation) -
Method Summary
-
Field Details
-
issueId
-
message
-
explanation
-
-
Constructor Details
-
AbstractAnalysisResult
-
-
Method Details
-
getIssueId
- Returns:
- 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.
-
getMessage
- Returns:
- the rule violation message
-
getExplanation
- Returns:
- a detailed explanation of the nature of the violation
-
toString
-