Package net.sourceforge.pmd.cache
Class FileAnalysisCache
- java.lang.Object
-
- net.sourceforge.pmd.cache.AbstractAnalysisCache
-
- net.sourceforge.pmd.cache.FileAnalysisCache
-
- All Implemented Interfaces:
AnalysisCache
,ThreadSafeReportListener
public class FileAnalysisCache extends AbstractAnalysisCache
An analysis cache backed by a regular file.
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.cache.AbstractAnalysisCache
auxClassPathChecksum, executionClassPathChecksum, fileResultsCache, LOG, pmdVersion, ruleMapper, rulesetChecksum, updatedResultsCache
-
-
Constructor Summary
Constructors Constructor Description FileAnalysisCache(java.io.File cache)
Creates a new cache backed by the given file, and attempts to load pre-existing data from it.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
persist()
Persist the analysis results on whatever means is used by the cache-
Methods inherited from class net.sourceforge.pmd.cache.AbstractAnalysisCache
analysisFailed, checkValidity, getCachedViolations, isUpToDate, metricAdded, ruleViolationAdded
-
-
-
-
Method Detail
-
persist
public void persist()
Description copied from interface:AnalysisCache
Persist the analysis results on whatever means is used by the cache
-
-