@Path(value="/commonServices/") public interface CommonServices
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.
|
Boolean |
validateCronExpression(String cronExpression) |
@Path(value="getI18nResources") @GET @Produces(value="text/plain") String getI18nResources(@QueryParam(value="locale") String locale) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="getAllI18nResources") @GET @Produces(value="text/plain") String getAllI18nResources(@QueryParam(value="locale") String locale) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="validateCronExpression") @GET @Produces(value={"application/json","application/xml"}) Boolean validateCronExpression(@QueryParam(value="cronExpression") String cronExpression) throws ArchivaRestServiceException
ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.