Class CheckHome
java.lang.Object
io.openems.edge.core.appmanager.validator.AbstractCheckable
io.openems.edge.core.appmanager.validator.CheckHome
- All Implemented Interfaces:
Checkable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCheckHome
(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, Checkable checkAppsNotInstalled) -
Method Summary
Modifier and TypeMethodDescriptionboolean
check()
Checks if the implemented task was successful or not.getErrorMessage
(Language language) Gets the error message if the check was incorrect completed.Methods inherited from class io.openems.edge.core.appmanager.validator.AbstractCheckable
getComponentName, getTranslation
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.Checkable
getComponentName, setProperties
-
Field Details
-
COMPONENT_NAME
- See Also:
-
-
Constructor Details
-
CheckHome
public CheckHome(ComponentManager componentManager, org.osgi.service.component.ComponentContext componentContext, Checkable checkAppsNotInstalled)
-
-
Method Details
-
check
public boolean check()Description copied from interface:Checkable
Checks if the implemented task was successful or not. -
getErrorMessage
Description copied from interface:Checkable
Gets the error message if the check was incorrect completed.- Specified by:
getErrorMessage
in interfaceCheckable
- Parameters:
language
- the language of the message- Returns:
- the message
-