Package io.openems.edge.core.appmanager
Interface AppManager
-
- All Superinterfaces:
JsonApi
,OpenemsComponent
- All Known Implementing Classes:
AppManagerImpl
public interface AppManager extends OpenemsComponent, JsonApi
A Service that manages OpenEMS Apps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AppManager.ChannelId
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SINGLETON_COMPONENT_ID
static java.lang.String
SINGLETON_SERVICE_PID
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description 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.default Value<java.lang.Boolean>
getDefectiveApp()
Gets the Defective-App Warning State.default StateChannel
getDefectiveAppChannel()
Gets the Channel forAppManager.ChannelId.DEFECTIVE_APP
.default Value<java.lang.Boolean>
getWrongAppConfiguration()
Gets the Wrong-App-Configuration Warning State.default StateChannel
getWrongAppConfigurationChannel()
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 Detail
-
SINGLETON_SERVICE_PID
static final java.lang.String SINGLETON_SERVICE_PID
- See Also:
- Constant Field Values
-
SINGLETON_COMPONENT_ID
static final java.lang.String SINGLETON_COMPONENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
_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
-
getDefectiveApp
default Value<java.lang.Boolean> getDefectiveApp()
Gets the Defective-App Warning State. SeeAppManager.ChannelId.DEFECTIVE_APP
.- Returns:
- the Channel
Value
-
getDefectiveAppChannel
default StateChannel getDefectiveAppChannel()
Gets the Channel forAppManager.ChannelId.DEFECTIVE_APP
.- Returns:
- the Channel
-
getWrongAppConfiguration
default Value<java.lang.Boolean> getWrongAppConfiguration()
Gets the Wrong-App-Configuration Warning State. SeeAppManager.ChannelId.WRONG_APP_CONFIGURATION
.- Returns:
- the Channel
Value
-
getWrongAppConfigurationChannel
default StateChannel getWrongAppConfigurationChannel()
Gets the Channel forAppManager.ChannelId.WRONG_APP_CONFIGURATION
.- Returns:
- the Channel
-
-