Class ValidatorImpl
- java.lang.Object
-
- io.openems.edge.core.appmanager.validator.ValidatorImpl
-
-
Constructor Summary
Constructors Constructor Description ValidatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getErrorMessages(java.util.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
getErrorCompatibleMessages, getErrorInstallableMessages, getStatus, toJsonObject
-
-
-
-
Method Detail
-
getErrorMessages
public java.util.List<java.lang.String> getErrorMessages(java.util.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
-
-