public interface RepositoryCommonValidator
Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_ID_VALID_EXPRESSION |
static String |
REPOSITORY_NAME_VALID_EXPRESSION |
Modifier and Type | Method and Description |
---|---|
void |
basicValidation(AbstractRepository abstractRepository,
boolean update) |
String |
removeExpressions(String directory)
replace some interpolations ${appserver.base} with correct values
|
void |
validateManagedRepository(ManagedRepository managedRepository)
validate cronExpression and location format
|
static final String REPOSITORY_ID_VALID_EXPRESSION
static final String REPOSITORY_NAME_VALID_EXPRESSION
void basicValidation(AbstractRepository abstractRepository, boolean update) throws RepositoryAdminException
RepositoryAdminException
void validateManagedRepository(ManagedRepository managedRepository) throws RepositoryAdminException
managedRepository
- RepositoryAdminException
String removeExpressions(String directory)
directory
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.