Interface AppCenterMetadata
- All Known Subinterfaces:
AppCenterMetadata.EdgeData
,AppCenterMetadata.UiData
- All Known Implementing Classes:
MetadataOdoo
@ProviderType
public interface AppCenterMetadata
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonArray
sendGetPossibleApps
(String key, String edgeId) Sends a request to get all apps that can be installed with the given key.com.google.gson.JsonObject
sendIsKeyApplicable
(String key, String edgeId, String appId) Sends a request if the key can be applied to the given edge and app id.
-
Method Details
-
sendIsKeyApplicable
com.google.gson.JsonObject sendIsKeyApplicable(String key, String edgeId, String appId) throws OpenemsError.OpenemsNamedException Sends a request if the key can be applied to the given edge and app id.- Parameters:
key
- the key to be validatededgeId
- the edge the app gets installedappId
- the app that gets installed- Returns:
- the result as a
JsonObject
- Throws:
OpenemsError.OpenemsNamedException
- on error
-
sendGetPossibleApps
com.google.gson.JsonArray sendGetPossibleApps(String key, String edgeId) throws OpenemsError.OpenemsNamedException Sends a request to get all apps that can be installed with the given key.- Parameters:
key
- the apps of the keyedgeId
- the apps on which edge- Returns:
- the bundles and their apps
- Throws:
OpenemsError.OpenemsNamedException
- on error
-