Class RuleQuery

    • Constructor Detail

      • RuleQuery

        public RuleQuery​(String query)
    • Method Detail

      • getQuery

        public String getQuery()
      • setQuery

        public RuleQuery setQuery​(String query)
        Set the full text query
      • getAnchoring

        public String getAnchoring()
      • setAnchoring

        public RuleQuery setAnchoring​(String anchoring)
        Set the anchoring, restricts the search to rules with a specific anchoring type
      • getContext

        public String getContext()
      • setContext

        public RuleQuery setContext​(String context)
        Set the context, restricts the search to rules with a specific context (exact match)
      • getPage

        public Long getPage()
      • setPage

        public RuleQuery setPage​(Long page)
        Set the page to retrieve (zero base). Defaults to 0.
      • setPage

        public RuleQuery setPage​(Integer page)
        Set the page to retrieve (zero base). Defaults to 0.
      • getHitsPerPage

        public Long getHitsPerPage()
      • setHitsPerPage

        public RuleQuery setHitsPerPage​(Long hitsPerPage)
        Set the number of hits per page. Defaults to 10.
      • setHitsPerPage

        public RuleQuery setHitsPerPage​(Integer hitsPerPage)
        Set the number of hits per page. Defaults to 10.
      • getEnabled

        public Boolean getEnabled()