/******************************************************************************* * Copyright (c) 2006-2012 * Software Technology Group, Dresden University of Technology * DevBoost GmbH, Berlin, Amtsgericht Charlottenburg, HRB 140026 * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Software Technology Group - TU Dresden, Germany; * DevBoost GmbH - Berlin, Germany * - initial API and implementation ******************************************************************************/ package org.reuseware.sokan.index.indexer; import java.util.List; /** * Configuration of an indexer and its dependencies. */ public class IndexerConfiguration { private Indexer indexer; private String iD; private List<String> dependencies; /** * Create a new index configuration for the given indexer, id, and dependencies. * * @param indexer the indexer * @param iD the indexer's ID * @param dependencies the indexer's dependencies (as IDs) */ public IndexerConfiguration( Indexer indexer, String iD, List<String> dependencies) { this.indexer = indexer; this.iD = iD; this.dependencies = dependencies; } /** * @return the indexer */ public Indexer getIndexer() { return indexer; } /** * @return the ID */ public String getId() { return iD; } /** * @return list of dependencies (as IDs) */ public List<String> getDependencies() { return dependencies; } }