Package io.openems.edge.common.host
Interface Host
-
- All Superinterfaces:
JsonApi
,OpenemsComponent
public interface Host extends OpenemsComponent, JsonApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Host.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
_setDiskIsFull(boolean value)
Internal method to set the 'nextValue' onHost.ChannelId.DISK_IS_FULL
Channel.default void
_setHostname(java.lang.String value)
Internal method to set the 'nextValue' onHost.ChannelId.HOSTNAME
Channel.default Value<java.lang.Boolean>
getDiskIsFull()
Gets the Disk is Full Warning State.default StateChannel
getDiskIsFullChannel()
Gets the Channel forHost.ChannelId.DISK_IS_FULL
.default Value<java.lang.String>
getHostname()
Gets the Disk is Full Warning State.default StringReadChannel
getHostnameChannel()
Gets the Channel forHost.ChannelId.HOSTNAME
.-
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
-
getDiskIsFullChannel
default StateChannel getDiskIsFullChannel()
Gets the Channel forHost.ChannelId.DISK_IS_FULL
.- Returns:
- the Channel
-
getDiskIsFull
default Value<java.lang.Boolean> getDiskIsFull()
Gets the Disk is Full Warning State. SeeHost.ChannelId.DISK_IS_FULL
.- Returns:
- the Channel
Value
-
_setDiskIsFull
default void _setDiskIsFull(boolean value)
Internal method to set the 'nextValue' onHost.ChannelId.DISK_IS_FULL
Channel.- Parameters:
value
- the next value
-
getHostnameChannel
default StringReadChannel getHostnameChannel()
Gets the Channel forHost.ChannelId.HOSTNAME
.- Returns:
- the Channel
-
getHostname
default Value<java.lang.String> getHostname()
Gets the Disk is Full Warning State. SeeHost.ChannelId.HOSTNAME
.- Returns:
- the Channel
Value
-
_setHostname
default void _setHostname(java.lang.String value)
Internal method to set the 'nextValue' onHost.ChannelId.HOSTNAME
Channel.- Parameters:
value
- the next value
-
-