Interface Checkable

All Known Implementing Classes:
AbstractCheckable, CheckAppsNotInstalled, CheckCardinality, CheckHome, CheckHost, CheckNoComponentInstalledOfFactoryId, CheckRelayCount

public interface Checkable
  • Method Details

    • getComponentName

      String getComponentName()
      Gets the Component Name of the Checkable.
      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

      String getErrorMessage(Language language)
      Gets the error message if the check was not successful.
      Parameters:
      language - the language of the message
      Returns:
      the message
    • getInvertedErrorMessage

      String getInvertedErrorMessage(Language language)
      Gets the error message if the check was successful.
      Parameters:
      language - the language of the message
      Returns:
      the message
    • setProperties

      default void setProperties(Map<String,?> properties)
      Sets the properties.
      Parameters:
      properties - the properties to be set for the next check