Interface PrefixHandler


@ProviderType public interface PrefixHandler
Represents a prefix for the input scope. This abstraction allows the framework to adapt the applications to different scope naming strategies.
  • Field Details

    • PASS_THROUGH_PREFIX_HANDLER

      static final PrefixHandler PASS_THROUGH_PREFIX_HANDLER
      A PrefixHandler that keeps the input unchanged.
  • Method Details

    • addPrefix

      String addPrefix(String input)
      Adds the prefix to a given input.
      Parameters:
      input - String to be prefixed.
      Returns:
      a new String with the prefix.
    • append

      default PrefixHandler append(PrefixHandler prefixHandler)
      A new PrefixHandler taking into account the given PrefixHandler
      Parameters:
      prefixHandler - the prefix handler to append.
      Returns:
      a new prefix handler combining both prefix handlers.