com.atlassian.fisheye.spi.services
Interface LocMetricsService.QueryParameters.Builder

Enclosing interface:
LocMetricsService.QueryParameters

public static interface LocMetricsService.QueryParameters.Builder


Method Summary
 LocMetricsService.QueryParameters.Builder branch(java.lang.String branch)
          The VCS branch name to constrain the query by
 LocMetricsService.QueryParameters build()
           
 LocMetricsService.QueryParameters.Builder committers(java.util.List<java.lang.String> committers)
          The VCS committers (a.k.a.
 LocMetricsService.QueryParameters.Builder dayOfMonth(int dayOfMonth)
          A day of the month to constrain the query by (0-31)
 LocMetricsService.QueryParameters.Builder dayOfWeek(int dayOfWeek)
          A day of the week to constrain the query by (1-7 = Sunday-Saturday)
 LocMetricsService.QueryParameters.Builder fileExtensions(java.util.List<java.lang.String> fileExtensions)
          The file extensions to constrain the query by
 LocMetricsService.QueryParameters.Builder groupByAuthor()
          Unused
 LocMetricsService.QueryParameters.Builder groupByExtension()
          Unused
 LocMetricsService.QueryParameters.Builder groupBySubdirectory()
          Unused
 LocMetricsService.QueryParameters.Builder hourOfDay(int hourOfday)
          An hour of the day to constrain the query by (0-23)
 LocMetricsService.QueryParameters.Builder maxDate(java.util.Date maxDate)
          The upper date bound of the query
 LocMetricsService.QueryParameters.Builder minDate(java.util.Date minDate)
          The lower date bound of the query
 LocMetricsService.QueryParameters.Builder path(java.lang.String path)
          The repository path to constrain the query by
 

Method Detail

build

LocMetricsService.QueryParameters build()
Returns:
an initialised LocMetricsService.QueryParameters

minDate

LocMetricsService.QueryParameters.Builder minDate(java.util.Date minDate)
The lower date bound of the query


maxDate

LocMetricsService.QueryParameters.Builder maxDate(java.util.Date maxDate)
The upper date bound of the query


dayOfWeek

LocMetricsService.QueryParameters.Builder dayOfWeek(int dayOfWeek)
A day of the week to constrain the query by (1-7 = Sunday-Saturday)


hourOfDay

LocMetricsService.QueryParameters.Builder hourOfDay(int hourOfday)
An hour of the day to constrain the query by (0-23)


dayOfMonth

LocMetricsService.QueryParameters.Builder dayOfMonth(int dayOfMonth)
A day of the month to constrain the query by (0-31)


committers

LocMetricsService.QueryParameters.Builder committers(java.util.List<java.lang.String> committers)
The VCS committers (a.k.a. authors) to constrain the query by


branch

LocMetricsService.QueryParameters.Builder branch(java.lang.String branch)
The VCS branch name to constrain the query by


fileExtensions

LocMetricsService.QueryParameters.Builder fileExtensions(java.util.List<java.lang.String> fileExtensions)
The file extensions to constrain the query by


path

LocMetricsService.QueryParameters.Builder path(java.lang.String path)
The repository path to constrain the query by


groupBySubdirectory

LocMetricsService.QueryParameters.Builder groupBySubdirectory()
Unused


groupByExtension

LocMetricsService.QueryParameters.Builder groupByExtension()
Unused


groupByAuthor

LocMetricsService.QueryParameters.Builder groupByAuthor()
Unused