Package org.openhab.core.service
Interface CommandDescriptionService
@NonNullByDefault
public interface CommandDescriptionService
An implementation of this service provides locale specific
CommandDescriptions for the given item.- Author:
- Henning Treu - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable CommandDescriptiongetCommandDescription(String itemName, @Nullable Locale locale) Returns the locale specificCommandDescriptionfor the given item name.
-
Method Details
-
getCommandDescription
Returns the locale specificCommandDescriptionfor the given item name.- Parameters:
itemName- the name of the itemlocale- the locale for translated command labels- Returns:
- the locale specific
CommandDescriptionfor the given item name
-