@Service(value="reportRepositoriesService#rest") public class DefaultReportRepositoriesService extends AbstractRestService implements ReportRepositoriesService
Modifier and Type | Field and Description |
---|---|
private static String |
ALL_REPOSITORIES |
private RepositoryStatisticsManager |
repositoryStatisticsManager |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultReportRepositoriesService() |
Modifier and Type | Method and Description |
---|---|
List<RepositoryProblemFacet> |
getHealthReport(String repository,
String groupId,
int rowCount) |
private List<RepositoryStatistics> |
getMultipleRepositoriesReport(List<String> repositoriesId,
int rowCount) |
List<RepositoryStatistics> |
getStatisticsReport(List<String> repositoriesId,
int rowCount,
Date startDate,
Date endDate) |
private List<RepositoryStatistics> |
getUniqueRepositoryReport(String repositoryId,
int rowCount,
Date startDate,
Date endDate) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
private static final String ALL_REPOSITORIES
@Inject private RepositoryStatisticsManager repositoryStatisticsManager
public DefaultReportRepositoriesService()
public List<RepositoryStatistics> getStatisticsReport(List<String> repositoriesId, int rowCount, Date startDate, Date endDate) throws ArchivaRestServiceException
getStatisticsReport
in interface ReportRepositoriesService
ArchivaRestServiceException
private List<RepositoryStatistics> getMultipleRepositoriesReport(List<String> repositoriesId, int rowCount)
private List<RepositoryStatistics> getUniqueRepositoryReport(String repositoryId, int rowCount, Date startDate, Date endDate)
public List<RepositoryProblemFacet> getHealthReport(String repository, String groupId, int rowCount) throws ArchivaRestServiceException
getHealthReport
in interface ReportRepositoriesService
ArchivaRestServiceException
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.