Package org.openbravo.service.system
Class ModuleValidator
- java.lang.Object
-
- org.openbravo.service.system.ModuleValidator
-
- All Implemented Interfaces:
SystemValidator
public class ModuleValidator extends Object implements SystemValidator
Validates modules, their dependencies and licenses- Author:
- mtaal
-
-
Constructor Summary
Constructors Constructor Description ModuleValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
Module
getValidateModule()
void
setValidateModule(Module validateModule)
SystemValidationResult
validate()
Validates all modules and returns theSystemValidationResult
.void
validate(Module module, SystemValidationResult result)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openbravo.service.system.SystemValidator
validate
-
-
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceSystemValidator
- Returns:
- the validation category, mainly for reporting
-
validate
public SystemValidationResult validate()
Validates all modules and returns theSystemValidationResult
.- Specified by:
validate
in interfaceSystemValidator
- Returns:
- the result of the validation, warning and error messages.
-
validate
public void validate(Module module, SystemValidationResult result)
-
getValidateModule
public Module getValidateModule()
-
setValidateModule
public void setValidateModule(Module validateModule)
-
-