Annotation Type Keywords


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Keywords
    Search index meta data for proxies. This annotation works as add-on for Requires which is the primarily source for the search index. Without specifying Keywords on a proxy, the enclosing presenter is indexed using the defaults specified here. Use Keywords on a presenter if you want to exclude the presenter or if you want to boost the presenter by setting keywords.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean exclude
      Using this flag you can exclude a presenter from the search index.
      String[] value
      Set of keywords which will be added to the index for that presenter.
    • Element Detail

      • value

        String[] value
        Set of keywords which will be added to the index for that presenter. Using keywords you can boost the presenter in the search result. Please use sparingly.
        Returns:
        an array with keywords to include in the search index
        Default:
        {}
      • exclude

        boolean exclude
        Using this flag you can exclude a presenter from the search index.
        Returns:
        whether to exclude the presenter
        Default:
        false