search/indexer/mmm-search-indexer-api/src/test/java/net/sf/mmm/search/indexer/base/state/SearchIndexStateManagerTest.java
/**
   * This method creates some test {@link SearchIndexerConfiguration}.
   * 
   * @param location is the {@link SearchIndexConfigurationBean#getLocation()
   *        index-location}.
   * @return the created {@link SearchIndexerConfiguration}.
   */
This method creates some test  SearchIndexerConfiguration.

@param location is the {@link SearchIndexConfigurationBean#getLocation()
index-location}.
@return the created  SearchIndexerConfiguration.
This method creates some test SearchIndexerConfiguration . @param location is the { @link SearchIndexConfigurationBean#getLocation () index - location } . @return the created SearchIndexerConfiguration .
protected SearchIndexerConfiguration createIndexerConfiguration(String location) {
    SearchIndexerConfigurationBean indexerConfiguration = new SearchIndexerConfigurationBean();
    SearchIndexConfigurationBean searchIndex = new SearchIndexConfigurationBean();
    searchIndex.setLocation(location);
    indexerConfiguration.setSearchIndex(searchIndex);
    List<SearchIndexerSourceBean> sources = new ArrayList<SearchIndexerSourceBean>();
    List<SearchIndexerDataLocationBean> locations;
    SearchIndexerSourceBean sourceBean;
    sourceBean = new SearchIndexerSourceBean();
    sourceBean.setId(SOURCE_BAR);
    sources.add(sourceBean);
    locations = new ArrayList<SearchIndexerDataLocationBean>();
    SearchIndexerDataLocationBean locationBean = new SearchIndexerDataLocationBean();
    locationBean.setLocaltionUri(LOCATION_DATA);
    locations.add(locationBean);
    sourceBean.setLocations(locations);
    sourceBean = new SearchIndexerSourceBean();
    sourceBean.setId(SOURCE_FOO);
    sources.add(sourceBean);
    indexerConfiguration.setSources(sources);
    locations = new ArrayList<SearchIndexerDataLocationBean>();
    locationBean = new SearchIndexerDataLocationBean();
    locationBean.setLocaltionUri(LOCATION_MUSIC);
    locations.add(locationBean);
    sourceBean.setLocations(locations);
    return indexerConfiguration;
  }
protected SearchIndexerConfiguration createIndexerConfiguration ( String location ) { SearchIndexerConfigurationBean indexerConfiguration = new SearchIndexerConfigurationBean ( ) ; SearchIndexConfigurationBean searchIndex = new SearchIndexConfigurationBean ( ) ; searchIndex . setLocation ( location ) ; indexerConfiguration . setSearchIndex ( searchIndex ) ; List < SearchIndexerSourceBean > sources = new ArrayList < SearchIndexerSourceBean > ( ) ; List < SearchIndexerDataLocationBean > locations ; SearchIndexerSourceBean sourceBean ; sourceBean = new SearchIndexerSourceBean ( ) ; sourceBean . setId ( SOURCE_BAR ) ; sources . add ( sourceBean ) ; locations = new ArrayList < SearchIndexerDataLocationBean > ( ) ; SearchIndexerDataLocationBean locationBean = new SearchIndexerDataLocationBean ( ) ; locationBean . setLocaltionUri ( LOCATION_DATA ) ; locations . add ( locationBean ) ; sourceBean . setLocations ( locations ) ; sourceBean = new SearchIndexerSourceBean ( ) ; sourceBean . setId ( SOURCE_FOO ) ; sources . add ( sourceBean ) ; indexerConfiguration . setSources ( sources ) ; locations = new ArrayList < SearchIndexerDataLocationBean > ( ) ; locationBean = new SearchIndexerDataLocationBean ( ) ; locationBean . setLocaltionUri ( LOCATION_MUSIC ) ; locations . add ( locationBean ) ; sourceBean . setLocations ( locations ) ; return indexerConfiguration ; }
This method creates some test {@link SearchIndexerConfiguration}.
This method creates some test { @link SearchIndexerConfiguration } .
// bar // foo