gate.creole.metadata.AutoInstance 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: AutoInstance.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;
/**
* Annotation used to define an instance of a resource that is created
* automatically when the plugin is loaded. This annotation is used as a
* parameter in {@link CreoleResource#autoinstances()}.
*/
@Target( {})
@Retention(RetentionPolicy.RUNTIME)
public @interface AutoInstance {
/**
* Parameter values for this auto-instance. If not specified, the
* default values are used.
*/
AutoInstanceParam[] parameters() default {};
/**
* Should this auto-instance be hidden in the GUI (true) or should it
* display just like a manually-created instance (false)?
*/
boolean hidden() default false;
}