org.scijava.plugin
Annotation Type Attr


@Target(value={})
public @interface Attr

A name/value attribute pair, used to extend the @Plugin annotation.

Author:
Curtis Rueden
See Also:
Plugin.attrs(), PluginInfo.get(String), PluginInfo.is(String)

Required Element Summary
 String name
          Name of the attribute.
 
Optional Element Summary
 String value
          The attribute's value, if applicable.
 

Element Detail

name

public abstract String name
Name of the attribute.

value

public abstract String value
The attribute's value, if applicable.

If set, the method PluginInfo.get(String) with the attribute's name will retrieve the value; in any case, the method PluginInfo.is(String) will return true.

Default:
""


Copyright © 2009–2014 SciJava. All rights reserved.