class Sonar {

    public Measure findMeasure(String artifactId, String measureKey) throws SonarMeasureNotFoundException {
        Preconditions.checkArgument(!Strings.isNullOrEmpty(artifactId), "artifactId is a mandatory parameter");
        Preconditions.checkNotNull(measureKey, "measureKey is a mandatory parameter");
        return findMeasureFromSonar(artifactId, measureKey);
    }

    public  Sonar(String url);
    public  Sonar(String url, String login, String password);

}