Class AnalysisResult


  • @Deprecated
    @InternalApi
    public class AnalysisResult
    extends Object
    Deprecated.
    This is internal API, will be hidden with 7.0.0
    The result of a single file analysis. Includes a checksum of the file and the complete list of violations detected.
    • Constructor Detail

      • AnalysisResult

        public AnalysisResult​(long fileChecksum,
                              List<RuleViolation> violations)
        Deprecated.
      • AnalysisResult

        public AnalysisResult​(File sourceFile)
        Deprecated.
    • Method Detail

      • getFileChecksum

        public long getFileChecksum()
        Deprecated.
      • addViolations

        public void addViolations​(List<RuleViolation> violations)
        Deprecated.
      • addViolation

        public void addViolation​(RuleViolation ruleViolation)
        Deprecated.