Class SearchOptions

java.lang.Object
com.atlassian.confluence.api.model.search.SearchOptions

public class SearchOptions extends Object
  • Constructor Details

  • Method Details

    • getExcerptStrategy

      public SearchOptions.Excerpt getExcerptStrategy()
      Returns:
      The excerpt strategy to apply when building the search result
    • getSearchContext

      public SearchContext getSearchContext()
    • isIncludeArchivedSpaces

      public boolean isIncludeArchivedSpaces()
    • isFireSearchPerformed

      public boolean isFireSearchPerformed()
      Returns:
      true if a com.atlassian.confluence.event.events.search.SearchPerformedEvent should be fired for this search
    • buildDefault

      public static SearchOptions buildDefault()
      Returns:
      a SearchOptions with an empty context and no excerpt
    • builder

      public static SearchOptions.Builder builder()