Package io.openems.edge.core.appmanager
Interface AppManager
- All Superinterfaces:
JsonApi
,OpenemsComponent
- All Known Implementing Classes:
AppManagerImpl
A Service that manages OpenEMS Apps.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setAppsNotSyncedWithBackend
(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.APPS_NOT_SYNCED_WITH_BACKEND
Channel.default void
_setDefectiveApp
(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.DEFECTIVE_APP
Channel.default void
_setWrongAppConfiguration
(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.WRONG_APP_CONFIGURATION
Channel.Gets the Apps-Not-Synced-With-Backend Warning State.default StateChannel
Gets the channel forAppManager.ChannelId.APPS_NOT_SYNCED_WITH_BACKEND
.Gets the Defective-App Warning State.default StateChannel
Gets the Channel forAppManager.ChannelId.DEFECTIVE_APP
.Gets the Wrong-App-Configuration Warning State.default StateChannel
Gets the Channel forAppManager.ChannelId.WRONG_APP_CONFIGURATION
.Methods inherited from interface io.openems.edge.common.jsonapi.JsonApi
handleJsonrpcRequest
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Field Details
-
SINGLETON_SERVICE_PID
- See Also:
-
SINGLETON_COMPONENT_ID
- See Also:
-
-
Method Details
-
_setDefectiveApp
default void _setDefectiveApp(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.DEFECTIVE_APP
Channel.- Parameters:
value
- the next value
-
_setWrongAppConfiguration
default void _setWrongAppConfiguration(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.WRONG_APP_CONFIGURATION
Channel.- Parameters:
value
- the next value
-
_setAppsNotSyncedWithBackend
default void _setAppsNotSyncedWithBackend(boolean value) Internal method to set the 'nextValue' onAppManager.ChannelId.APPS_NOT_SYNCED_WITH_BACKEND
Channel.- Parameters:
value
- the next value
-
getDefectiveApp
Gets the Defective-App Warning State. SeeAppManager.ChannelId.DEFECTIVE_APP
.- Returns:
- the Channel
Value
-
getDefectiveAppChannel
Gets the Channel forAppManager.ChannelId.DEFECTIVE_APP
.- Returns:
- the Channel
-
getWrongAppConfiguration
Gets the Wrong-App-Configuration Warning State. SeeAppManager.ChannelId.WRONG_APP_CONFIGURATION
.- Returns:
- the Channel
Value
-
getWrongAppConfigurationChannel
Gets the Channel forAppManager.ChannelId.WRONG_APP_CONFIGURATION
.- Returns:
- the Channel
-
getAppsNotSyncedWithBackend
Gets the Apps-Not-Synced-With-Backend Warning State. SeeAppManager.ChannelId.APPS_NOT_SYNCED_WITH_BACKEND
.- Returns:
- the Channel
Value
-
getAppsNotSyncedWithBackendChannel
Gets the channel forAppManager.ChannelId.APPS_NOT_SYNCED_WITH_BACKEND
.- Returns:
- the Channel
-