blob: 13c400a72dd6d80ad33292f1bf93473ec2536461 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Zend Technologies and others.
* 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:
* Zend Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.internal.core.index.lucene;
/**
* Index type (declarations or references).
*/
public enum IndexType {
/**
* Index type for storing declarations data.
*/
DECLARATIONS("declarations"), //$NON-NLS-1$
/**
* Index type for storing references data.
*/
REFERENCES("references"); //$NON-NLS-1$
private final String fDirectory;
private IndexType(String directory) {
this.fDirectory = directory;
}
/**
* Returns related directory name.
*
* @return related directory name
*/
public String getDirectory() {
return fDirectory;
}
}