Interface Checkable
- All Known Implementing Classes:
AbstractCheckable
,CheckAppsNotInstalled
,CheckCardinality
,CheckHome
,CheckHost
,CheckNoComponentInstalledOfFactoryId
,CheckRelayCount
public interface Checkable
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check()
Checks if the implemented task was successful or not.Gets the Component Name of theCheckable
.getErrorMessage
(Language language) Gets the error message if the check was incorrect completed.default void
setProperties
(Map<String, ?> properties) Sets the properties.
-
Method Details
-
getComponentName
String getComponentName()Gets the Component Name of theCheckable
.- Returns:
- the component name
-
check
boolean check()Checks if the implemented task was successful or not.- Returns:
- true if the check was successful else false
-
getErrorMessage
Gets the error message if the check was incorrect completed.- Parameters:
language
- the language of the message- Returns:
- the message
-
setProperties
Sets the properties.- Parameters:
properties
- the properties to be set for the next check
-