Package net.sourceforge.pmd.cache
Class AnalysisResult
- java.lang.Object
-
- net.sourceforge.pmd.cache.AnalysisResult
-
@Deprecated @InternalApi public class AnalysisResult extends Object
Deprecated.This is internal API, will be hidden with 7.0.0The result of a single file analysis. Includes a checksum of the file and the complete list of violations detected.
-
-
Constructor Summary
Constructors Constructor Description AnalysisResult(long fileChecksum, List<RuleViolation> violations)
Deprecated.AnalysisResult(File sourceFile)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addViolation(RuleViolation ruleViolation)
Deprecated.void
addViolations(List<RuleViolation> violations)
Deprecated.long
getFileChecksum()
Deprecated.List<RuleViolation>
getViolations()
Deprecated.
-
-
-
Constructor Detail
-
AnalysisResult
public AnalysisResult(long fileChecksum, List<RuleViolation> violations)
Deprecated.
-
AnalysisResult
public AnalysisResult(File sourceFile)
Deprecated.
-
-
Method Detail
-
getFileChecksum
public long getFileChecksum()
Deprecated.
-
getViolations
public List<RuleViolation> getViolations()
Deprecated.
-
addViolations
public void addViolations(List<RuleViolation> violations)
Deprecated.
-
addViolation
public void addViolation(RuleViolation ruleViolation)
Deprecated.
-
-