Interface SnippetAgent.Fallback

Enclosing interface:
SnippetAgent

@NonExtendable public static interface SnippetAgent.Fallback
Fallback configuration object definition.
When unchanged, the following fallback strategies will be applied, if the snippet provides an empty result:
  • header: Name of the element.
  • extract: Path to the element.
Since:
5.2.180704
  • Method Details

    • headerNone

      @NotNull @NotNull SnippetAgent.Fallback headerNone()
      Set to not provide any fallback for header snippet.
      Returns:
      The fallback object.
      Since:
      5.2.180704
    • extractNone

      @NotNull @NotNull SnippetAgent.Fallback extractNone()
      Set to not provide any fallback for extract snippet.
      Returns:
      The fallback object.
      Since:
      5.2.180704