java.lang.Object
io.openems.edge.core.appmanager.validator.AbstractCheckable
io.openems.edge.core.appmanager.validator.CheckHome
All Implemented Interfaces:
Checkable

public class CheckHome extends AbstractCheckable implements Checkable
  • Field Details

  • 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.
      Specified by:
      check in interface Checkable
      Returns:
      true if the check was successful else false
    • getErrorMessage

      public String getErrorMessage(Language language)
      Description copied from interface: Checkable
      Gets the error message if the check was not successful.
      Specified by:
      getErrorMessage in interface Checkable
      Parameters:
      language - the language of the message
      Returns:
      the message
    • getInvertedErrorMessage

      public String getInvertedErrorMessage(Language language)
      Description copied from interface: Checkable
      Gets the error message if the check was successful.
      Specified by:
      getInvertedErrorMessage in interface Checkable
      Parameters:
      language - the language of the message
      Returns:
      the message