Interface TagResolver.Single

    • Method Detail

      • key

        @NotNull
        @NotNull java.lang.String key()
        The key this resolver matches.

        The returned key is compared case-insensitively.

        Returns:
        the key
        Since:
        4.10.0
      • tag

        @NotNull
        @NotNull Tag tag()
        The tag returned by this resolver when the key is matching.
        Returns:
        the tag
        Since:
        4.10.0
      • resolve

        @Nullable
        default @Nullable Tag resolve​(@NotNull
                                      @NotNull java.lang.String name)
        Description copied from interface: TagResolver.WithoutArguments
        Resolve a tag based only on the provided name.
        Specified by:
        resolve in interface TagResolver.WithoutArguments
        Parameters:
        name - the provided name
        Returns:
        a tag, if any is known.