Coverage Report - no.sesat.search.run.RunningQuery
 
Classes in this File Line Coverage Branch Coverage Complexity
RunningQuery
N/A
N/A
1
RunningQuery$Context
N/A
N/A
1
 
 1  
 /* Copyright (2005-2008) Schibsted Søk AS
 2  
  * This file is part of SESAT.
 3  
  *
 4  
  *   SESAT is free software: you can redistribute it and/or modify
 5  
  *   it under the terms of the GNU Affero General Public License as published by
 6  
  *   the Free Software Foundation, either version 3 of the License, or
 7  
  *   (at your option) any later version.
 8  
  *
 9  
  *   SESAT is distributed in the hope that it will be useful,
 10  
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 11  
  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 12  
  *   GNU Affero General Public License for more details.
 13  
  *
 14  
  *   You should have received a copy of the GNU Affero General Public License
 15  
  *   along with SESAT.  If not, see <http://www.gnu.org/licenses/>.
 16  
  * RunningQuery.java
 17  
  *
 18  
  * Created on 16 February 2006, 19:52
 19  
  *
 20  
  */
 21  
 
 22  
 package no.sesat.search.run;
 23  
 
 24  
 import no.sesat.commons.ioc.BaseContext;
 25  
 import no.sesat.search.datamodel.DataModelContext;
 26  
 import no.sesat.search.mode.SearchMode;
 27  
 import no.sesat.search.site.config.ResourceContext;
 28  
 import no.sesat.search.view.config.SearchTab;
 29  
 
 30  
 /** A RunningQuery is the central controller for a user's submitted search.
 31  
  *
 32  
  * @version $Id: RunningQuery.java 7153 2009-01-20 13:30:03Z ssmiweve $
 33  
  *
 34  
  *
 35  
  */
 36  
 public interface RunningQuery {
 37  
 
 38  
     public interface Context extends BaseContext, ResourceContext, DataModelContext {
 39  
         /**
 40  
          *
 41  
          * @return
 42  
          */
 43  
         SearchMode getSearchMode();
 44  
         /**
 45  
          *
 46  
          * @return
 47  
          */
 48  
         SearchTab getSearchTab();
 49  
     }
 50  
 
 51  
     /**
 52  
      * Thread run
 53  
      *
 54  
      * @throws InterruptedException
 55  
      */
 56  
     void run() throws InterruptedException;
 57  
 
 58  
 }