org.sonar.batch.duplication
Class DuplicationCache
java.lang.Object
org.sonar.batch.duplication.DuplicationCache
- All Implemented Interfaces:
- BatchComponent
public class DuplicationCache
- extends Object
- implements BatchComponent
Cache of duplication blocks. This cache is shared amongst all project modules.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DuplicationCache
public DuplicationCache(Caches caches)
entries
public Iterable<Cache.Entry<List<DuplicationGroup>>> entries()
byComponent
@CheckForNull
public List<DuplicationGroup> byComponent(String effectiveKey)
put
public DuplicationCache put(String effectiveKey,
List<DuplicationGroup> blocks)
Copyright © 2009–2015 SonarSource. All rights reserved.