public Optional < Build > getBuildByNumber ( final int buildNumber ) { return builds . stream ( ) . filter ( isBuildNumberEqualTo ( buildNumber ) ) . findFirst ( ) ; }
Get a build by the given buildNumber .