@Service(value="commonServices#rest") public class DefaultCommonServices extends Object implements CommonServices
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.archiva.redback.components.scheduler.CronExpressionValidator |
cronExpressionValidator |
| Constructor and Description |
|---|
DefaultCommonServices() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllI18nResources(String locale) |
String |
getI18nResources(String locale) |
void |
init() |
Boolean |
validateCronExpression(String cronExpression) |
@Inject protected org.apache.archiva.redback.components.scheduler.CronExpressionValidator cronExpressionValidator
@PostConstruct public void init() throws ArchivaRestServiceException
ArchivaRestServiceExceptionpublic String getI18nResources(String locale) throws ArchivaRestServiceException
getI18nResources in interface CommonServicesArchivaRestServiceExceptionpublic String getAllI18nResources(String locale) throws ArchivaRestServiceException
getAllI18nResources in interface CommonServicesArchivaRestServiceExceptionpublic Boolean validateCronExpression(String cronExpression) throws ArchivaRestServiceException
validateCronExpression in interface CommonServicesArchivaRestServiceExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.