001 package org.sonar.ide.api;
002
003 import java.util.List;
004
005 import org.sonar.ide.shared.coverage.CoverageData;
006 import org.sonar.ide.shared.duplications.Duplication;
007 import org.sonar.wsclient.services.Violation;
008
009 /**
010 * @author Evgeny Mandrikov
011 * @since 0.2
012 */
013 public interface Measurable {
014
015 List<IMeasure> getMeasures();
016
017 /*
018 * TODO Godin:
019 * I'm not sure that following methods should be here.
020 * Actually those methods work only for files.
021 */
022
023 List<Violation> getViolations();
024
025 List<Violation> getViolations2();
026
027 List<Duplication> getDuplications();
028
029 CoverageData getCoverage();
030
031 }