Package io.openems.edge.common.channel
Class BooleanDoc
- java.lang.Object
-
- io.openems.edge.common.channel.internal.AbstractDoc<T>
-
- io.openems.edge.common.channel.internal.OpenemsTypeDoc<java.lang.Boolean>
-
- io.openems.edge.common.channel.BooleanDoc
-
- All Implemented Interfaces:
Doc
public class BooleanDoc extends OpenemsTypeDoc<java.lang.Boolean>
-
-
Constructor Summary
Constructors Constructor Description BooleanDoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanReadChannel
createChannelInstance(OpenemsComponent component, ChannelId channelId)
Creates an instance ofChannel
for the given Channel-ID using its Channel-AbstractDoc
.protected BooleanDoc
self()
Gets an instance of the correct subclass of myself.-
Methods inherited from class io.openems.edge.common.channel.internal.OpenemsTypeDoc
accessMode, getChannelCategory, getUnit, of, unit
-
Methods inherited from class io.openems.edge.common.channel.internal.AbstractDoc
debug, getAccessMode, getInitialValue, getOnInitCallbacks, getPersistencePriority, getText, getType, initialValue, isDebug, onInit, persistencePriority, text
-
-
-
-
Method Detail
-
self
protected BooleanDoc self()
Description copied from class:AbstractDoc
Gets an instance of the correct subclass of myself.- Specified by:
self
in classAbstractDoc<java.lang.Boolean>
- Returns:
- myself
-
createChannelInstance
public BooleanReadChannel createChannelInstance(OpenemsComponent component, ChannelId channelId)
Description copied from class:AbstractDoc
Creates an instance ofChannel
for the given Channel-ID using its Channel-AbstractDoc
.- Specified by:
createChannelInstance
in interfaceDoc
- Specified by:
createChannelInstance
in classAbstractDoc<java.lang.Boolean>
channelId
- the Channel-ID- Returns:
- the Channel
-
-