class HudsonXmlHelper {

    public static boolean isSuccessful(Build build) {
        checkBuild(build);
        String state = build.getResult();
        return "SUCCESS".equals(state);
    }

    private  HudsonXmlHelper();

}