Uses of Interface
org.openhab.core.items.Item
Packages that use Item
Package
Description
-
Uses of Item in org.openhab.core.automation.module.script.defaultscope
Methods in org.openhab.core.automation.module.script.defaultscope that return types with arguments of type ItemModifier and TypeMethodDescriptionScriptBusEvent.storeStates(Item @Nullable ... items) Stores the current states for a list of items in a map.Methods in org.openhab.core.automation.module.script.defaultscope with parameters of type ItemModifier and TypeMethodDescription@Nullable ObjectScriptBusEvent.postUpdate(@Nullable Item item, @Nullable Number state) Posts a status update for a specified item to the event bus.@Nullable ObjectScriptBusEvent.postUpdate(@Nullable Item item, @Nullable String stateAsString) Posts a status update for a specified item to the event bus.@Nullable ObjectScriptBusEvent.postUpdate(@Nullable Item item, @Nullable State state) Posts a status update for a specified item to the event bus.@Nullable ObjectScriptBusEvent.sendCommand(@Nullable Item item, @Nullable Number number) Sends a number as a command for a specified item to the event bus.@Nullable ObjectScriptBusEvent.sendCommand(@Nullable Item item, @Nullable String commandString) Sends a command for a specified item to the event bus.@Nullable ObjectScriptBusEvent.sendCommand(@Nullable Item item, @Nullable Command command) Sends a command for a specified item to the event bus.@Nullable ObjectScriptBusEvent.sendTimeSeries(@Nullable Item item, @Nullable TimeSeries timeSeries) Sends a time series to the event busScriptBusEvent.storeStates(Item @Nullable ... items) Stores the current states for a list of items in a map.Method parameters in org.openhab.core.automation.module.script.defaultscope with type arguments of type ItemModifier and TypeMethodDescription@Nullable ObjectScriptBusEvent.restoreStates(@Nullable Map<Item, State> statesMap) Restores item states from a map. -
Uses of Item in org.openhab.core.io.rest.core.item
Methods in org.openhab.core.io.rest.core.item with parameters of type ItemModifier and TypeMethodDescriptionstatic EnrichedItemDTOEnrichedItemDTOMapper.map(Item item, boolean drillDown, @Nullable Predicate<Item> itemFilter, @Nullable javax.ws.rs.core.UriBuilder uriBuilder, @Nullable Locale locale) Maps item into enriched item DTO object.Method parameters in org.openhab.core.io.rest.core.item with type arguments of type Item -
Uses of Item in org.openhab.core.items
Subinterfaces of Item in org.openhab.core.itemsModifier and TypeInterfaceDescriptioninterfaceDeprecated.This class is not meant as a public API - it should only be used internally from within the frameworkClasses in org.openhab.core.items that implement ItemModifier and TypeClassDescriptionclassThe abstract base class for all items.classFields in org.openhab.core.items declared as ItemFields in org.openhab.core.items with type parameters of type ItemMethods in org.openhab.core.items with type parameters of type ItemModifier and TypeMethodDescription<T extends Item>
Collection<T>ItemRegistry.getItemsByTag(Class<T> typeFilter, String... tags) Returns list of items which contains all of the given tags.Methods in org.openhab.core.items that return ItemModifier and TypeMethodDescriptionItemBuilder.build()Creates an item with the currently configured values.@Nullable ItemItemFactory.createItem(@Nullable String itemTypeName, String itemName) Creates a new Item instance of typeitemTypeNameand the nameitemName@Nullable ItemGroupItem.getBaseItem()Returns the base item of thisGroupItem.This method retrieves a single item from the registry.ItemRegistry.getItemByPattern(String name) This method retrieves a single item from the registry.@Nullable Item@Nullable Item@Nullable ItemRemoves an item and its member if recursive flag is set to true.protected @Nullable ItemManagedItemProvider.toElement(String itemName, ManagedItemProvider.PersistedItem persistedItem) Methods in org.openhab.core.items that return types with arguments of type ItemModifier and TypeMethodDescriptionGroupItem.getAllMembers()ItemRegistry.getItems()This method retrieves all items that are currently available in the registryThis method retrieves all items that match a given search patternItemRegistry.getItemsByTag(String... tags) Returns list of items which contains all of the given tags.ItemRegistry.getItemsByTagAndType(String type, String... tags) Returns list of items with a certain type containing all of the given tags.ItemRegistry.getItemsOfType(String type) This method retrieves all items with the given typeItemNotUniqueException.getMatchingItems()Returns all items that match the search patternGroupItem.getMembers()GroupItem.getMembers(Predicate<Item> filterItem) Retrieves ALL members of this group and filters it with the given PredicateMethods in org.openhab.core.items with parameters of type ItemModifier and TypeMethodDescriptionvoidvoidAdds the given item to the members of this group item.ItemStateConverter.convertToAcceptedState(@Nullable State state, @Nullable Item item) ItemBuilderFactory.newItemBuilder(Item item) Create a newItemBuilder, which is initialized by the given item.voidGroupItem.removeMember(Item item) Removes the given item from the members of this group item.voidGroupItem.replaceMember(Item oldItem, Item newItem) voidGroupItem.stateChanged(Item item, State oldState, State newState) voidStateChangeListener.stateChanged(Item item, State oldState, State newState) This method is called, if a state has changed.voidGroupItem.stateUpdated(Item item, State state) voidStateChangeListener.stateUpdated(Item item, State state) This method is called, if a state was updated, but has not changedvoidTimeSeriesListener.timeSeriesUpdated(Item item, TimeSeries timeSeries) This method is called, if a time series update was sent to the item.protected ManagedItemProvider.PersistedItemManagedItemProvider.toPersistableElement(Item item) ItemBuilder.withBaseItem(@Nullable Item baseItem) Set the base item..Method parameters in org.openhab.core.items with type arguments of type ItemModifier and TypeMethodDescriptionvoidItemRegistry.addRegistryHook(RegistryHook<Item> hook) Add a hook to be informed before adding/after removing items.Determines the current state of a group based on a list of itemsGroupItem.getMembers(Predicate<Item> filterItem) Retrieves ALL members of this group and filters it with the given Predicate<T extends State>
@Nullable TGroupFunction.Equality.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TGroupFunction.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) Calculates the group state and returns it as a state of the requested type.voidItemRegistry.removeRegistryHook(RegistryHook<Item> hook) Remove the hook again.Constructors in org.openhab.core.items with parameters of type ItemModifierConstructorDescriptionGroupItem(String name, @Nullable Item baseItem, @Nullable GroupFunction function) Creates a GroupItem with functionConstructor parameters in org.openhab.core.items with type arguments of type Item -
Uses of Item in org.openhab.core.items.dto
Methods in org.openhab.core.items.dto that return ItemModifier and TypeMethodDescriptionstatic @Nullable ItemItemDTOMapper.map(ItemDTO itemDTO, ItemBuilderFactory itemBuilderFactory) Maps item DTO into item object.Methods in org.openhab.core.items.dto with parameters of type ItemModifier and TypeMethodDescriptionstatic ItemDTOMaps item into item DTO object.static GroupFunctionItemDTOMapper.mapFunction(@Nullable Item baseItem, GroupFunctionDTO function) -
Uses of Item in org.openhab.core.items.events
Methods in org.openhab.core.items.events with parameters of type ItemModifier and TypeMethodDescriptionstatic ItemAddedEventItemEventFactory.createAddedEvent(Item item) Creates an item added event.static ItemRemovedEventItemEventFactory.createRemovedEvent(Item item) Creates an item removed event.static ItemUpdatedEventItemEventFactory.createUpdateEvent(Item item, Item oldItem) Creates an item updated event. -
Uses of Item in org.openhab.core.library.items
Classes in org.openhab.core.library.items that implement ItemModifier and TypeClassDescriptionclassThis item identifies a telephone call by its origin and destination.classA ColorItem can be used for color values, e.g.classA ContactItem can be used for sensors that return an "open" or "close" as a state.classA DateTimeItem stores a timestamp including a valid time zone.classA DimmerItem can be used as a switch (ON/OFF), but it also accepts percent values to reflect the dimmed state.classAn ImageItem holds the binary image data as its status.classA LocationItem can be used to store GPS related informations, addresses...classA NumberItem has a decimal value and is usually used for all kinds of sensors, like temperature, brightness, wind, etc.classAnPlayerItemallows to control a player, e.g.classA RollershutterItem allows the control of roller shutters, i.e.classA StringItem can be used for any kind of string to either send or receive from a device.classA SwitchItem represents a normal switch that can be ON or OFF. -
Uses of Item in org.openhab.core.library.types
Methods in org.openhab.core.library.types with parameters of type ItemModifier and TypeMethodDescriptionprotected booleanQuantityTypeArithmeticGroupFunction.DimensionalGroupFunction.isSameDimension(@Nullable Item item) Method parameters in org.openhab.core.library.types with type arguments of type ItemModifier and TypeMethodDescription<T extends State>
@Nullable TArithmeticGroupFunction.And.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Avg.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Count.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Max.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Min.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Or.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TArithmeticGroupFunction.Sum.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TDateTimeGroupFunction.Earliest.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TDateTimeGroupFunction.Latest.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) <T extends State>
@Nullable TQuantityTypeArithmeticGroupFunction.DimensionalGroupFunction.getStateAs(@Nullable Set<Item> items, Class<T> stateClass) -
Uses of Item in org.openhab.core.model.script.actions
Methods in org.openhab.core.model.script.actions that return ItemModifier and TypeMethodDescriptionstatic @Nullable ItemSemantics.getEquipment(Item item) static @Nullable ItemSemantics.getLocation(Item item) Methods in org.openhab.core.model.script.actions that return types with arguments of type ItemModifier and TypeMethodDescriptionBusEvent.storeStates(Item... items) Stores the current states for a list of items in a map.Methods in org.openhab.core.model.script.actions with parameters of type ItemModifier and TypeMethodDescriptionstatic @Nullable ItemSemantics.getEquipment(Item item) Semantics.getEquipmentType(Item item) static @Nullable ItemSemantics.getLocation(Item item) Semantics.getLocationType(Item item) Semantics.getPointType(Item item) Semantics.getPropertyType(Item item) Semantics.getSemanticType(Item item) Determines the semantic type of anItem(i.e.static booleanSemantics.isEquipment(Item item) static booleanSemantics.isLocation(Item item) static booleanstatic ObjectBusEvent.postUpdate(Item item, Number state) Posts a status update for a specified item to the event bus.static ObjectBusEvent.postUpdate(Item item, String stateAsString) Posts a status update for a specified item to the event bus.static ObjectBusEvent.postUpdate(Item item, State state) Posts a status update for a specified item to the event bus.static ObjectBusEvent.sendCommand(Item item, Number number) Sends a number as a command for a specified item to the event bus.static ObjectBusEvent.sendCommand(Item item, String commandString) Sends a command for a specified item to the event bus.static ObjectBusEvent.sendCommand(Item item, Command command) Sends a command for a specified item to the event bus.static ObjectBusEvent.sendTimeSeries(@Nullable Item item, @Nullable TimeSeries timeSeries) Sends a time series to the event busBusEvent.storeStates(Item... items) Stores the current states for a list of items in a map.Method parameters in org.openhab.core.model.script.actions with type arguments of type ItemModifier and TypeMethodDescriptionstatic ObjectBusEvent.restoreStates(Map<Item, State> statesMap) Restores item states from a map. -
Uses of Item in org.openhab.core.model.script.interpreter
Methods in org.openhab.core.model.script.interpreter that return Item -
Uses of Item in org.openhab.core.model.script.jvmmodel
Methods in org.openhab.core.model.script.jvmmodel with parameters of type Item -
Uses of Item in org.openhab.core.persistence
Methods in org.openhab.core.persistence with parameters of type ItemModifier and TypeMethodDescriptionvoidModifiablePersistenceService.store(Item item, ZonedDateTime date, State state) Stores the historic item value.voidModifiablePersistenceService.store(Item item, ZonedDateTime date, State state, @Nullable String alias) Stores the historic item value under a specified alias.voidStores the current value of the given item.voidStores the current value of the given item under a specified alias. -
Uses of Item in org.openhab.core.persistence.extensions
Methods in org.openhab.core.persistence.extensions with parameters of type ItemModifier and TypeMethodDescriptionstatic @Nullable DecimalTypePersistenceExtensions.averageBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the average value of the state of a givenItembetween two certain points in time.static @Nullable DecimalTypePersistenceExtensions.averageBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the average value of the state of a givenItembetween two certain points in time.static @Nullable DecimalTypePersistenceExtensions.averageSince(Item item, ZonedDateTime timestamp) Gets the average value of the state of a givenItemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.averageSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the average value of the state of a givenItemsince a certain point in time.static booleanPersistenceExtensions.changedBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Checks if the state of a givenitemhas changed between two points in time.static booleanPersistenceExtensions.changedBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Checks if the state of a givenitemchanged between two points in time.static booleanPersistenceExtensions.changedSince(Item item, ZonedDateTime timestamp) Checks if the state of a givenitemhas changed since a certain point in time.static booleanPersistenceExtensions.changedSince(Item item, ZonedDateTime timestamp, String serviceId) Checks if the state of a givenitemhas changed since a certain point in time.static longPersistenceExtensions.countBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end) Gets the number of available historic data points of a givenItembetween two points in time.static longPersistenceExtensions.countBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end, String serviceId) Gets the number of available historic data points of a givenItembetween two points in time.static longPersistenceExtensions.countSince(Item item, ZonedDateTime begin) Gets the number of available historic data points of a givenItemfrom a point in time until now.static longPersistenceExtensions.countSince(Item item, ZonedDateTime begin, String serviceId) Gets the number of available historic data points of a givenItemfrom a point in time until now.static longPersistenceExtensions.countStateChangesBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end) Gets the number of changes in historic data points of a givenItembetween two points in time.static longPersistenceExtensions.countStateChangesBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end, String serviceId) Gets the number of changes in historic data points of a givenItembetween two points in time.static longPersistenceExtensions.countStateChangesSince(Item item, ZonedDateTime begin) Gets the number of changes in historic data points of a givenItemfrom a point in time until now.static longPersistenceExtensions.countStateChangesSince(Item item, ZonedDateTime begin, String serviceId) Gets the number of changes in historic data points of a givenItemfrom a point in time until now.static @Nullable DecimalTypePersistenceExtensions.deltaBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the difference value of the state of a givenitembetween two certain point in time.static @Nullable DecimalTypePersistenceExtensions.deltaBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the difference value of the state of a givenitembetween two certain point in time.static @Nullable DecimalTypePersistenceExtensions.deltaSince(Item item, ZonedDateTime timestamp) Gets the difference value of the state of a givenitemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.deltaSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the difference value of the state of a givenitemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.deviationBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the standard deviation of the state of the givenItembetween two points in time.static @Nullable DecimalTypePersistenceExtensions.deviationBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the standard deviation of the state of the givenItembetween two points in time.static @Nullable DecimalTypePersistenceExtensions.deviationSince(Item item, ZonedDateTime timestamp) Gets the standard deviation of the state of the givenItemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.deviationSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the standard deviation of the state of the givenItemsince a certain point in time.static DecimalTypePersistenceExtensions.evolutionRate(Item item, ZonedDateTime timestamp) Gets the evolution rate of the state of a givenItemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.evolutionRate(Item item, ZonedDateTime timestamp, String serviceId) Gets the evolution rate of the state of a givenItemsince a certain point in time.static DecimalTypePersistenceExtensions.evolutionRate(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the evolution rate of the state of a givenItembetween two points in time.static @Nullable DecimalTypePersistenceExtensions.evolutionRate(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the evolution rate of the state of a givenItembetween two points in time.static Iterable<HistoricItem>PersistenceExtensions.getAllStatesBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end) Retrieves the historic items for a givenitembeetween two certain points in time.static Iterable<HistoricItem>PersistenceExtensions.getAllStatesBetween(Item item, ZonedDateTime begin, @Nullable ZonedDateTime end, String serviceId) Retrieves the historic items for a givenitembeetween two certain points in time through aPersistenceServiceidentified by theserviceId.static Iterable<HistoricItem>PersistenceExtensions.getAllStatesSince(Item item, ZonedDateTime timestamp) Retrieves the historic items for a givenitemsince a certain point in time.static Iterable<HistoricItem>PersistenceExtensions.getAllStatesSince(Item item, ZonedDateTime timestamp, String serviceId) Retrieves the historic items for a givenitemsince a certain point in time through aPersistenceServiceidentified by theserviceId.static @Nullable HistoricItemPersistenceExtensions.historicState(Item item, ZonedDateTime timestamp) Retrieves the historic item for a givenitemat a certain point in time through the default persistence service.static @Nullable HistoricItemPersistenceExtensions.historicState(Item item, ZonedDateTime timestamp, String serviceId) Retrieves the historic item for a givenitemat a certain point in time through aPersistenceServiceidentified by theserviceId.static @Nullable ZonedDateTimePersistenceExtensions.lastUpdate(Item item) Query the last update time of a givenitem.static @Nullable ZonedDateTimePersistenceExtensions.lastUpdate(Item item, String serviceId) Query for the last update time of a givenitem.static @Nullable HistoricItemPersistenceExtensions.maximumBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the historic item with the maximum value of the state of a givenitemsince a certain point in time.static @Nullable HistoricItemPersistenceExtensions.maximumBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the historic item with the maximum value of the state of a givenitemsince a certain point in time.static @Nullable HistoricItemPersistenceExtensions.maximumSince(Item item, ZonedDateTime timestamp) Gets the historic item with the maximum value of the state of a givenitemsince a certain point in time.static @Nullable HistoricItemPersistenceExtensions.maximumSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the historic item with the maximum value of the state of a givenitemsince a certain point in time.static @Nullable HistoricItemPersistenceExtensions.minimumBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the historic item with the minimum value of the state of a givenitembetween two certain points in time.static @Nullable HistoricItemPersistenceExtensions.minimumBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the historic item with the minimum value of the state of a givenitembetween two certain points in time.static @Nullable HistoricItemPersistenceExtensions.minimumSince(Item item, ZonedDateTime timestamp) Gets the historic item with the minimum value of the state of a givenitemsince a certain point in time.static @Nullable HistoricItemPersistenceExtensions.minimumSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the historic item with the minimum value of the state of a givenitemsince a certain point in time.static voidPersists the state of a givenitemthrough the default persistence service.static voidstatic @Nullable HistoricItemPersistenceExtensions.previousState(Item item) Returns the previous state of a givenitem.static @Nullable HistoricItemPersistenceExtensions.previousState(Item item, boolean skipEqual) Returns the previous state of a givenitem.static @Nullable HistoricItemPersistenceExtensions.previousState(Item item, boolean skipEqual, String serviceId) Returns the previous state of a givenitem.static DecimalTypePersistenceExtensions.sumBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the sum of the state of a givenitembetween two certain points in time.static DecimalTypePersistenceExtensions.sumBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the sum of the state of a givenitembetween two certain points in time.static DecimalTypePersistenceExtensions.sumSince(Item item, ZonedDateTime timestamp) Gets the sum of the state of a givenitemsince a certain point in time.static DecimalTypePersistenceExtensions.sumSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the sum of the state of a givenitemsince a certain point in time.static booleanPersistenceExtensions.updatedBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Checks if the state of a givenitemhas been updated between two points in time.static booleanPersistenceExtensions.updatedBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Checks if the state of a givenitemhas been updated between two points in time.static booleanPersistenceExtensions.updatedSince(Item item, ZonedDateTime timestamp) Checks if the state of a givenitemhas been updated since a certain point in time.static booleanPersistenceExtensions.updatedSince(Item item, ZonedDateTime timestamp, String serviceId) Checks if the state of a givenitemhas been updated since a certain point in time.static @Nullable DecimalTypePersistenceExtensions.varianceBetween(Item item, ZonedDateTime begin, ZonedDateTime end) Gets the variance of the state of the givenItembetween two certain point in time.static @Nullable DecimalTypePersistenceExtensions.varianceBetween(Item item, ZonedDateTime begin, ZonedDateTime end, String serviceId) Gets the variance of the state of the givenItembetween two points in time.static @Nullable DecimalTypePersistenceExtensions.varianceSince(Item item, ZonedDateTime timestamp) Gets the variance of the state of the givenItemsince a certain point in time.static @Nullable DecimalTypePersistenceExtensions.varianceSince(Item item, ZonedDateTime timestamp, String serviceId) Gets the variance of the state of the givenItemsince a certain point in time. -
Uses of Item in org.openhab.core.persistence.filter
Methods in org.openhab.core.persistence.filter with parameters of type ItemModifier and TypeMethodDescriptionbooleanabstract booleanApply this filter to an itembooleanbooleanbooleanvoidabstract voidNotify filter that item was persistedvoidvoidvoid -
Uses of Item in org.openhab.core.semantics
Methods in org.openhab.core.semantics that return types with arguments of type ItemModifier and TypeMethodDescriptionSemanticsService.getItemsInLocation(Class<? extends Location> locationType) Retrieves all items that are located in a given location type and which are either classified as Points or Equipments.SemanticsService.getItemsInLocation(String labelOrSynonym, Locale locale) Retrieves all items that are located in a given location and which are either classified as Points or Equipments.SemanticsPredicates.isEquipment()SemanticsPredicates.isLocation()SemanticsPredicates.isPoint()Methods in org.openhab.core.semantics with parameters of type ItemModifier and TypeMethodDescriptionSemanticTags.getEquipment(Item item) SemanticTags.getLocation(Item item) SemanticTags.getProperty(Item item) SemanticTags.getSemanticType(Item item) Determines the semantic type of anItemi.e. -
Uses of Item in org.openhab.core.thing.link
Methods in org.openhab.core.thing.link that return types with arguments of type ItemModifier and TypeMethodDescriptionItemChannelLinkRegistry.getLinkedItems(UID uid) Returns a set of bound items for the given channel UID. -
Uses of Item in org.openhab.core.ui.items
Methods in org.openhab.core.ui.items with parameters of type ItemModifier and TypeMethodDescription@Nullable StateItemUIRegistry.convertState(Widget widget, Item item, State state) Convert the given state intoMethod parameters in org.openhab.core.ui.items with type arguments of type ItemModifier and TypeMethodDescription@Nullable WidgetItemUIProvider.getDefaultWidget(@Nullable Class<? extends Item> itemType, String itemName) Provides a default widget for a given item (class). -
Uses of Item in org.openhab.core.voice.text
Methods in org.openhab.core.voice.text that return types with arguments of type ItemModifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.getMatchingItems(ResourceBundle language, String[] labelFragments, @Nullable AbstractRuleBasedInterpreter.ItemCommandSupplier commandSupplier, Rule.InterpretationContext context) Filters the item registry by matching each item's name with the provided name fragments.Methods in org.openhab.core.voice.text with parameters of type ItemModifier and TypeMethodDescriptionprotected RuleAbstractRuleBasedInterpreter.customDynamicRule(Item item, AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object headExpression, @Nullable Object tailExpression, boolean isForced, boolean isSilent) Creates a custom rule on base of a head and a tail expression, where the middle part of the new rule's expression will consist of a free command to be captured.booleanAbstractRuleBasedInterpreter.ItemFilter.filterItem(Item item, MetadataRegistry metadataRegistry) AbstractRuleBasedInterpreter.ItemFilter.forSimilarItem(Item item, @Nullable Metadata semantic) AbstractRuleBasedInterpreter.ItemCommandSupplier.getCommandClasses(@Nullable Item item) @Nullable CommandAbstractRuleBasedInterpreter.ItemCommandSupplier.getItemCommand(Item item) AbstractRuleBasedInterpreter.parseItemCustomRules(Locale locale, Item item, String ruleText, Metadata metadata) Parses a rule as text into aRuleinstance.protected RuleAbstractRuleBasedInterpreter.restrictedDynamicItemRule(Item item, AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object headExpression, Object midExpression, @Nullable Object tailExpression, boolean isNameFirst, boolean isForced, boolean isSilent) Creates an item rule which two dynamic capture values on base of a head a middle and an optional tail expression, where one of the values is an item name expression and the other a free captured value.Method parameters in org.openhab.core.voice.text with type arguments of type ItemModifier and TypeMethodDescriptionprotected RuleAbstractRuleBasedInterpreter.restrictedItemRule(Set<Item> allowedItems, Object headExpression, @Nullable Object tailExpression) Creates an item rule on base of a head and a tail expression, where the middle part of the new rule's expression will consist of an item name expression.