View Javadoc

1   package com.atlassian.user.search.query;
2   
3   import java.util.List;
4   
5   /**
6    * Indicates the context in which a query should run.
7    */
8   
9   public interface QueryContext
10  {
11      /**
12       * indicates that the Query Context should search in all delegated repositories.
13       */
14      final String ALL_REPOSITORIES = "_all_repositories_";
15  
16      void addRepositoryKey(String key);
17  
18      List getRepositoryKeys();
19  }