@Service(value="commonServices#rest") public class DefaultCommonServices extends Object implements CommonServices
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.archiva.components.scheduler.CronExpressionValidator | cronExpressionValidator | 
| Constructor and Description | 
|---|
| DefaultCommonServices() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAllI18nResources(String locale)will return properties available in org/apache/archiva/i18n/default.properties
 load default (en) then override with locale used so at least en are returned if no
 translation in the locale asked. | 
| String | getI18nResources(String locale)will return properties available in org/apache/archiva/i18n/default.properties
 load default (en) then override with locale used so at least en are returned if no
 translation in the locale asked. | 
| void | init() | 
| Boolean | validateCronExpression(String cronExpression) | 
@Inject protected org.apache.archiva.components.scheduler.CronExpressionValidator cronExpressionValidator
public DefaultCommonServices()
@PostConstruct public void init() throws ArchivaRestServiceException
ArchivaRestServiceExceptionpublic String getI18nResources(String locale) throws ArchivaRestServiceException
CommonServicesgetI18nResources in interface CommonServicesArchivaRestServiceExceptionpublic String getAllI18nResources(String locale) throws ArchivaRestServiceException
CommonServicesgetAllI18nResources in interface CommonServicesArchivaRestServiceExceptionpublic Boolean validateCronExpression(String cronExpression) throws ArchivaRestServiceException
validateCronExpression in interface CommonServicesArchivaRestServiceExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.