gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/data/GerritProject.java
/**
     * Compares the project and branch to see if the rules specified is a match.
     * @param project the gerrit project
     * @param branch the branch.
     * @return true is the rules match.
     */
Compares the project and branch to see if the rules specified is a match.
@param project the gerrit project
@param branch the branch.
@return true is the rules match.
Compares the project and branch to see if the rules specified is a match . @param project the gerrit project @param branch the branch . @return true is the rules match .
public boolean isInteresting(String project, String branch) {
        if (compareType.matches(pattern, project)) {
            for (Branch b : branches) {
                if (b.isInteresting(branch)) {
                    return true;
                }
            }
            return false;
        } else {
            return false;
        }
    }
public boolean isInteresting ( String project , String branch ) { if ( compareType . matches ( pattern , project ) ) { for ( Branch b : branches ) { if ( b . isInteresting ( branch ) ) { return true ; } } return false ; } else { return false ; } }
Compares the project and branch to see if the rules specified is a match.
Compares the project and branch to see if the rules specified is a match .