com.atlassian.fisheye.spi.services
Interface LocMetricsService


public interface LocMetricsService


Nested Class Summary
static interface LocMetricsService.QueryParameters
           
 
Method Summary
 java.lang.Long getLocCount(java.lang.String repository, LocMetricsService.QueryParameters parameters)
           
 LocMetricsService.QueryParameters.Builder getQueryBuilder()
           
 java.lang.Long getRevisionCount(java.lang.String repository, LocMetricsService.QueryParameters parameters)
           
 

Method Detail

getRevisionCount

java.lang.Long getRevisionCount(java.lang.String repository,
                                LocMetricsService.QueryParameters parameters)
Parameters:
repository - a repository name
parameters - a LocMetricsService.QueryParameters object
Returns:
the number of revisions that matched the supplied LocMetricsService.QueryParameters criteria

getLocCount

java.lang.Long getLocCount(java.lang.String repository,
                           LocMetricsService.QueryParameters parameters)
Parameters:
repository - a repository name
parameters - a LocMetricsService.QueryParameters object
Returns:
the number of LOC that matched the supplied LocMetricsService.QueryParameters criteria

getQueryBuilder

LocMetricsService.QueryParameters.Builder getQueryBuilder()
Returns:
an uninitialised LocMetricsService.QueryParameters.Builder for building LocMetricsService.QueryParameters to be passed to the LocMetricsService SPI methods