Interface AppCenterMetadata.EdgeData

All Superinterfaces:
AppCenterMetadata
All Known Implementing Classes:
MetadataOdoo
Enclosing interface:
AppCenterMetadata

@ProviderType public static interface AppCenterMetadata.EdgeData extends AppCenterMetadata
  • Method Details

    • sendAddInstallAppInstanceHistory

      void sendAddInstallAppInstanceHistory(String key, String edgeId, String appId, UUID instanceId, String userId) throws OpenemsError.OpenemsNamedException
      Sends a request to add a install app history entry.
      Parameters:
      key - the key that the app gets installed with
      edgeId - the edge the app gets installed on
      appId - the app that gets installed
      instanceId - the instanceId of the installed app
      userId - the user who added the instance
      Throws:
      OpenemsError.OpenemsNamedException - on error
    • sendAddDeinstallAppInstanceHistory

      void sendAddDeinstallAppInstanceHistory(String edgeId, String appId, UUID instanceId, String userId) throws OpenemsError.OpenemsNamedException
      Sends a request to add a deinstall history entry.
      Parameters:
      edgeId - the edge the instance gets removed
      appId - the id of the app
      instanceId - the instanceId of the removed instance
      userId - the user who removed the instance
      Throws:
      OpenemsError.OpenemsNamedException - on error
    • sendGetInstalledApps

      com.google.gson.JsonObject sendGetInstalledApps(String edgeId) throws OpenemsError.OpenemsNamedException
      Sends a request to get all installed apps on the edge that are logged in the backend these apps may not be actually on the edge.
      Parameters:
      edgeId - the apps on which edge
      Returns:
      the installed apps
      Throws:
      OpenemsError.OpenemsNamedException - on error