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 Details

    • getCommandDescription

      @Nullable CommandDescription getCommandDescription(String itemName, @Nullable Locale locale)
      Returns the locale specific CommandDescription for the given item name.
      Parameters:
      itemName - the name of the item
      locale - the locale for translated command labels
      Returns:
      the locale specific CommandDescription for the given item name