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