Uses of Interface
org.openhab.core.types.Command
Packages that use Command
Package
Description
-
Uses of Command in org.openhab.core.automation.module.script.action
Methods in org.openhab.core.automation.module.script.action with parameters of type CommandModifier and TypeMethodDescriptionvoidBusEvent.sendCommand(Item item, Command command) Sends a command for a specified item to the event bus.voidBusEvent.sendCommand(Item item, Command command, @Nullable String source) Sends a command for a specified item to the event bus. -
Uses of Command in org.openhab.core.automation.module.script.profile
Methods in org.openhab.core.automation.module.script.profile with parameters of type CommandModifier and TypeMethodDescriptionvoidScriptProfile.onCommandFromHandler(Command command) voidScriptProfile.onCommandFromItem(Command command) -
Uses of Command in org.openhab.core.io.transport.modbus
Methods in org.openhab.core.io.transport.modbus with parameters of type CommandModifier and TypeMethodDescriptionstatic ModbusRegisterArrayModbusBitUtilities.commandToRegisters(Command command, ModbusConstants.ValueType type) Convert command to array of registers using a specific value typeModbusBitUtilities.translateCommand2Boolean(Command command) Converts command to a boolean true value is represented byOnOffType.ON,OpenClosedType.OPEN. -
Uses of Command in org.openhab.core.items
Methods in org.openhab.core.items that return types with arguments of type CommandModifier and TypeMethodDescriptionGroupItem.getAcceptedCommandTypes()The accepted command types of a group item is the same as of the underlying base item.Item.getAcceptedCommandTypes()This method provides a list of all command types that can be used for this itemMethods in org.openhab.core.items with parameters of type CommandModifier and TypeMethodDescriptionprotected voidGenericItem.internalSend(Command command, @Nullable String source) protected voidGroupItem.internalSend(Command command, @Nullable String source) voidSend a command to the each member of the group.voidSend a command to the each member of the group. -
Uses of Command in org.openhab.core.items.events
Methods in org.openhab.core.items.events that return CommandMethods in org.openhab.core.items.events with parameters of type CommandModifier and TypeMethodDescriptionstatic ItemCommandEventItemEventFactory.createCommandEvent(String itemName, Command command) Creates an item command event.static ItemCommandEventItemEventFactory.createCommandEvent(String itemName, Command command, @Nullable String source) Creates an item command event.Constructors in org.openhab.core.items.events with parameters of type Command -
Uses of Command in org.openhab.core.library.items
Methods in org.openhab.core.library.items that return types with arguments of type CommandModifier and TypeMethodDescriptionCallItem.getAcceptedCommandTypes()ColorItem.getAcceptedCommandTypes()ContactItem.getAcceptedCommandTypes()DateTimeItem.getAcceptedCommandTypes()DimmerItem.getAcceptedCommandTypes()ImageItem.getAcceptedCommandTypes()LocationItem.getAcceptedCommandTypes()NumberItem.getAcceptedCommandTypes()PlayerItem.getAcceptedCommandTypes()RollershutterItem.getAcceptedCommandTypes()StringItem.getAcceptedCommandTypes()SwitchItem.getAcceptedCommandTypes() -
Uses of Command in org.openhab.core.library.types
Classes in org.openhab.core.library.types that implement CommandModifier and TypeClassDescriptionclassclassThe decimal type uses a BigDecimal internally and thus can be used for integers, longs and floating point numbers alike.classThe HSBType is a complex type with constituents for hue, saturation and brightness and can be used for color items.enumenumThis type is used by thePlayerItem.enumenumclassThe PercentType extends theDecimalTypeby putting constraints for its value on top (0-100).enumThis type is used by thePlayerItem.classThis type can be used for items that are dealing with GPS or location awareness functionality.classQuantityType<T extends javax.measure.Quantity<T>>The measure type extends DecimalType to handle physical unit measurementenumThis type is used by thePlayerItem.enumclassThis type can be used for items that are dealing with telephony functionality.classenum -
Uses of Command in org.openhab.core.magic.binding.handler
Methods in org.openhab.core.magic.binding.handler with parameters of type CommandModifier and TypeMethodDescriptionvoidMagicActionModuleThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicBridgedThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicBridgeHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicButtonHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicChattyThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicColorLightHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicConfigurableThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicContactHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicDelayedOnlineHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicDimmableLightHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicDynamicStateDescriptionThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicExtensibleThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicFirmwareUpdateThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicImageHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicLocationThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicOnlineOfflineHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicOnOffLightHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicPlayerHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicRollershutterHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicThermostatThingHandler.handleCommand(ChannelUID channelUID, Command command) voidMagicTimeSeriesHandler.handleCommand(ChannelUID channelUID, Command command) -
Uses of Command in org.openhab.core.model.script.actions
Methods in org.openhab.core.model.script.actions with parameters of type CommandModifier and TypeMethodDescriptionstatic ObjectBusEvent.sendCommand(Item item, Command command) static ObjectBusEvent.sendCommand(Item item, Command command, String source) -
Uses of Command in org.openhab.core.model.script.scoping
Fields in org.openhab.core.model.script.scoping with type parameters of type CommandMethods in org.openhab.core.model.script.scoping that return types with arguments of type Command -
Uses of Command in org.openhab.core.thing.binding
Methods in org.openhab.core.thing.binding with parameters of type CommandModifier and TypeMethodDescriptionvoidThingHandler.handleCommand(ChannelUID channelUID, Command command) Handles a command for a given channel.protected voidBaseThingHandler.postCommand(String channelID, Command command) Sends a command for a channel of the thing.protected voidBaseThingHandler.postCommand(ChannelUID channelUID, Command command) Sends a command for a channel of the thing.voidThingHandlerCallback.postCommand(ChannelUID channelUID, Command command) Informs about a command, which is sent from the channel. -
Uses of Command in org.openhab.core.thing.binding.generic
Methods in org.openhab.core.thing.binding.generic with parameters of type CommandModifier and TypeMethodDescription@Nullable StringChannelValueConverterConfig.commandToFixedValue(Command command) maps a command to a user-defined stringvoidcalled to send a command to this channel -
Uses of Command in org.openhab.core.thing.binding.generic.converter
Methods in org.openhab.core.thing.binding.generic.converter that return CommandModifier and TypeMethodDescriptionprotected @Nullable Commandprotected @Nullable Commandprotected @Nullable Commandprotected @Nullable Commandprotected @Nullable Commandprotected @Nullable Commandprotected @Nullable CommandMethods in org.openhab.core.thing.binding.generic.converter with parameters of type Command -
Uses of Command in org.openhab.core.thing.profiles
Methods in org.openhab.core.thing.profiles that return types with arguments of type CommandModifier and TypeMethodDescriptionProfileContext.getAcceptedCommandTypes()Get the list of accepted command types for commands send to the linked item This is an optional method and will return an empty list if not implemented.ProfileContext.getHandlerAcceptedCommandTypes()Get the list of accepted command types for commands sent to the handler This is an optional method and will return an empty list if not implemented.Methods in org.openhab.core.thing.profiles with parameters of type CommandModifier and TypeMethodDescriptionvoidProfileCallback.handleCommand(Command command) Forward the given command to the respective thing handler.voidStateProfile.onCommandFromHandler(Command command) If a binding issued a command to a channel, this method will be called for each linked item.voidStateProfile.onCommandFromItem(Command command) Will be called if a command should be forwarded to the binding.default voidStateProfile.onCommandFromItem(Command command, @Nullable String source) Will be called if a command should be forwarded to the binding.default voidProfileCallback.sendCommand(Command command) Send a command to the framework.voidProfileCallback.sendCommand(Command command, @Nullable String source) Send a command to the framework. -
Uses of Command in org.openhab.core.types
Classes in org.openhab.core.types that implement CommandMethods in org.openhab.core.types that return CommandModifier and TypeMethodDescriptionstatic @Nullable CommandTypeParser.parseCommand(List<Class<? extends Command>> types, String s) Determines a command from a string.Method parameters in org.openhab.core.types with type arguments of type Command -
Uses of Command in org.openhab.core.voice.text
Methods in org.openhab.core.voice.text that return CommandModifier and TypeMethodDescription@Nullable CommandAbstractRuleBasedInterpreter.ItemCommandSupplier.getItemCommand(Item item) Methods in org.openhab.core.voice.text that return types with arguments of type CommandModifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.ItemCommandSupplier.getCommandClasses(@Nullable Item item) Methods in org.openhab.core.voice.text with parameters of type CommandModifier and TypeMethodDescriptionprotected ExpressionAdds a command to the resulting AST tree, if the expression matches.