Class ResultAdditionalAttributes
java.lang.Object
com.parasoft.findings.jenkins.internal.ResultAdditionalAttributes
Provides additional attributes associated with violation, which are not attached directly to violation itself.
-
Constructor Summary
ConstructorDescriptionResultAdditionalAttributes
(com.parasoft.findings.utils.results.violations.IRuleViolation violation) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
-
Constructor Details
-
ResultAdditionalAttributes
public ResultAdditionalAttributes(com.parasoft.findings.utils.results.violations.IRuleViolation violation) - Parameters:
violation
- for which to read extra attributes
-
-
Method Details
-
isSuppressed
public boolean isSuppressed()- Returns:
- true if violation is suppressed and should not be visible
-
getSeverity
public int getSeverity()- Returns:
- violation severity
-
getRuleTitle
- Returns:
- title of violated rule
-
getRuleCategory
- Returns:
- category of violated rule
-
getAuthor
- Returns:
- assigned author
-
getRevision
- Returns:
- file revision for which this violation has been reported
-