AnalysisCache, ThreadSafeReportListenerpublic class FileAnalysisCache extends AbstractAnalysisCache
auxClassPathChecksum, executionClassPathChecksum, fileResultsCache, LOG, pmdVersion, ruleMapper, rulesetChecksum, updatedResultsCache| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
persist() |
Persist the analysis results on whatever means is used by the cache
|
analysisFailed, checkValidity, getCachedViolations, isUpToDate, metricAdded, ruleViolationAddedpublic FileAnalysisCache(java.io.File cache)
cache - The file on which to store analysis cachepublic void persist()
AnalysisCacheCopyright © 2002–2018 PMD. All rights reserved.