gate.creole.metadata.AutoInstanceParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gate-core Show documentation
Show all versions of gate-core Show documentation
GATE - general achitecture for text engineering - is open source
software capable of solving almost any text processing problem. This
artifact enables you to embed the core GATE Embedded with its essential
dependencies. You will able to use the GATE Embedded API and load and
store GATE XML documents. This artifact is the perfect dependency for
CREOLE plugins or for applications that need to customize the GATE
dependencies due to confict with their own dependencies or for lower
footprint.
The newest version!
/*
* AutoInstance.java
*
* Copyright (c) 2008, The University of Sheffield.
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* Version 2, June 1991 (in the distribution as file licence.html,
* and also available at http://gate.ac.uk/gate/licence.html).
*
* Ian Roberts, 27/Jul/2008
*
* $Id: AutoInstanceParam.java 9845 2008-08-25 22:23:24Z ian_roberts $
*/
package gate.creole.metadata;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Holder for a single name/value pair for a parameter to an
* auto-instance. Used only in {@link AutoInstance#parameters()}.
*/
@Target( {})
@Retention(RetentionPolicy.CLASS)
public @interface AutoInstanceParam {
/**
* The name of the parameter.
*/
String name();
/**
* The parameter value as a string, following normal GATE conversion
* rules for non-string parameter types.
*/
String value();
}