public class MissingModulesValidator extends Object implements ImportValidator, ModuleDependencyAware
| Constructor and Description |
|---|
MissingModulesValidator() |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
getResult()
Returns the validation result.
|
void |
initDependencies(String templateSetName,
List<String> modules)
Provides required dependency information to the validator.
|
void |
setTemplateManagerService(JahiaTemplateManagerService templateManagerService) |
void |
validate(String decodedLocalName,
String decodedQName,
String currentPath,
Attributes atts)
Performs the validation of the element.
|
public ValidationResult getResult()
ImportValidatorgetResult in interface ImportValidatorpublic void initDependencies(String templateSetName, List<String> modules)
ModuleDependencyAwareinitDependencies in interface ModuleDependencyAwaretemplateSetName - the name of target template setmodules - the list of modules that are used as a dependenciespublic void setTemplateManagerService(JahiaTemplateManagerService templateManagerService)
public void validate(String decodedLocalName, String decodedQName, String currentPath, Attributes atts)
ImportValidatorvalidate in interface ImportValidatordecodedLocalName - the decoded local name of the elementdecodedQName - the decoded fully qualified name of the elementcurrentPath - current pathatts - the set of element attributesCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.