Interface DTService

All Superinterfaces:
Identifiable<String>
All Known Subinterfaces:
BasicDTService, KSService

@NonNullByDefault public interface DTService extends Identifiable<String>
This is the interface that a dialog trigger service has to implement.
Author:
Miguel Álvarez Díez - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a simple string that uniquely identifies this service.
    getLabel(@Nullable Locale locale)
    Returns a localized human-readable label that can be used within UIs.
    default String
    Get the unique identifier.
  • Method Details

    • getId

      String getId()
      Returns a simple string that uniquely identifies this service.
      Returns:
      an id that identifies this service
    • getUID

      default String getUID()
      Description copied from interface: Identifiable
      Get the unique identifier.
      Specified by:
      getUID in interface Identifiable<String>
      Returns:
      the unique identifier
    • getLabel

      String getLabel(@Nullable Locale locale)
      Returns a localized human-readable label that can be used within UIs.
      Parameters:
      locale - the locale to provide the label for
      Returns:
      a localized string to be used in UIs