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