org.sonar.batch.index
Class SnapshotCache

java.lang.Object
  extended by org.sonar.batch.index.SnapshotCache
All Implemented Interfaces:
BatchComponent

public class SnapshotCache
extends Object
implements BatchComponent

Does not contains snapshots of Library as effectiveKey can be the same than a project.


Constructor Summary
SnapshotCache()
           
 
Method Summary
 Snapshot get(String componentKey)
           
 SnapshotCache put(String componentKey, Snapshot snapshot)
           
 Set<Map.Entry<String,Snapshot>> snapshots()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotCache

public SnapshotCache()
Method Detail

get

public Snapshot get(String componentKey)

put

public SnapshotCache put(String componentKey,
                         Snapshot snapshot)

snapshots

public Set<Map.Entry<String,Snapshot>> snapshots()


Copyright © 2009–2015 SonarSource. All rights reserved.