org.gecko.search.suggest.annotation.RequireSearchSuggestion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.gecko.search.suggest Show documentation
Show all versions of org.gecko.search.suggest Show documentation
Gecko Lucene Suggester Implementation
The newest version!
/**
* Copyright (c) 2012 - 2023 Data In Motion and others.
* All rights reserved.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Data In Motion - initial API and implementation
*/
package org.gecko.search.suggest.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.gecko.search.suggest.api.SuggestionConstants;
import org.osgi.annotation.bundle.Requirement;
/**
* Annotation to define a require capability for the gecko search suggestion
* @author Mark Hoffmann
* @since 08.12.2018
*/
@Documented
@Retention(RetentionPolicy.CLASS)
@Target({
ElementType.TYPE, ElementType.PACKAGE
})
@Requirement(namespace = SuggestionConstants.CAPABILITY_NS, //
name = SuggestionConstants.CAPABILITY_NAME, //
version = SuggestionConstants.CAPABILITY_VERSION)
public @interface RequireSearchSuggestion {
}