java.lang.Object
org.apache.nifi.flowanalysis.AbstractAnalysisResult
- Direct Known Subclasses:
ComponentAnalysisResult,GroupAnalysisResult
Abstract class holding information about a
FlowAnalysisRule violation.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAnalysisResult(String issueId, String message, String explanation) -
Method Summary
Modifier and TypeMethodDescriptionGet explanation associated with resultsA rule-defined id that corresponds to a unique type of issue recognized by the rule.Get message associated with resultstoString()
-
Field Details
-
issueId
-
message
-
explanation
-
-
Constructor Details
-
AbstractAnalysisResult
-
-
Method Details
-
getIssueId
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.- Returns:
- Issue Identifier
-
getMessage
Get message associated with results- Returns:
- the rule violation message
-
getExplanation
Get explanation associated with results- Returns:
- a detailed explanation of the nature of the violation
-
toString
-