class Hudson {

    public int getLastBuildNumber(String projectName) throws HudsonJobNotFoundException, HudsonBuildNotFoundException {
        checkJobName(projectName);
        return hudsonFinder.getLastBuildNumber(projectName);
    }

    public  Hudson(String hudsonUrl);
    public  Hudson(String hudsonUrl, String login, String password);

}