org.sonar.batch.index
Class Bucket

java.lang.Object
  extended by org.sonar.batch.index.Bucket

public final class Bucket
extends Object


Constructor Summary
Bucket(Resource resource)
           
 
Method Summary
 void addMeasure(Measure measure)
           
 void addViolation(Violation violation)
           
 void clear()
           
 boolean equals(Object o)
           
 List<Bucket> getChildren()
           
<M> M
getMeasures(MeasuresFilter<M> filter)
           
 Bucket getParent()
           
 Resource getResource()
           
 List<Violation> getViolations()
           
 int hashCode()
           
 boolean isExcluded()
           
 Bucket setParent(Bucket parent)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bucket

public Bucket(Resource resource)
Method Detail

getResource

public Resource getResource()

setParent

public Bucket setParent(Bucket parent)

getChildren

public List<Bucket> getChildren()

getParent

public Bucket getParent()

addViolation

public void addViolation(Violation violation)

getViolations

public List<Violation> getViolations()

addMeasure

public void addMeasure(Measure measure)

clear

public void clear()

getMeasures

public <M> M getMeasures(MeasuresFilter<M> filter)

isExcluded

public boolean isExcluded()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.