D
- Data type wrapped by the plugin.public abstract class AbstractWrapperPlugin<D> extends AbstractTypedPlugin<D> implements WrapperPlugin<D>
WrapperPlugin
s.Constructor and Description |
---|
AbstractWrapperPlugin() |
Modifier and Type | Method and Description |
---|---|
D |
get()
Gets the data object currently associated with this plugin.
|
void |
set(D data)
Associates the given data object with this plugin.
|
supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public void set(D data)
WrapperPlugin
Typed.supports(T)
must return true).set
in interface WrapperPlugin<D>
data
- The data object to associate with the plugin.public D get()
WrapperPlugin
get
in interface WrapperPlugin<D>
Copyright © 2015–2022 SciJava. All rights reserved.