public Pager < CommitStatus > getCommitStatuses ( Object projectIdOrPath , String sha , CommitStatusFilter filter , int itemsPerPage ) throws GitLabApiException { if ( projectIdOrPath == null ) { throw new RuntimeException ( "projectIdOrPath cannot be null" ) ; } if ( sha == null || sha . trim ( ) . isEmpty ( ) ) { throw new RuntimeException ( "sha cannot be null" ) ; } MultivaluedMap < String , String > queryParams = ( filter != null ? filter . getQueryParams ( ) . asMap ( ) : null ) ; return ( new Pager < CommitStatus > ( this , CommitStatus . class , itemsPerPage , queryParams , "projects" , this . getProjectIdOrPath ( projectIdOrPath ) , "repository" , "commits" , sha , "statuses" ) ) ; }
Get a Pager of repository commit statuses that meet the provided filter .