Class ValidatorImpl
java.lang.Object
io.openems.edge.core.appmanager.validator.ValidatorImpl
- All Implemented Interfaces:
Validator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetErrorMessages
(List<ValidatorConfig.CheckableConfig> checkableConfigs, Language language, boolean returnImmediate) Gets the error messages for the givenCheckable
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.core.appmanager.validator.Validator
checkStatus, getErrorCompatibleMessages, getErrorInstallableMessages, getStatus, toJsonObject
-
Constructor Details
-
ValidatorImpl
public ValidatorImpl()
-
-
Method Details
-
getErrorMessages
public List<String> getErrorMessages(List<ValidatorConfig.CheckableConfig> checkableConfigs, Language language, boolean returnImmediate) Description copied from interface:Validator
Gets the error messages for the givenCheckable
.- Specified by:
getErrorMessages
in interfaceValidator
- Parameters:
checkableConfigs
- theCheckable
s to be checked.language
- the language of the errorsreturnImmediate
- after the first checkable who returns false- Returns:
- a list of errors
-