D - Data type associated with the plugin.public abstract class AbstractTypedPlugin<D> extends AbstractRichPlugin implements TypedPlugin<D>
TypedPlugins.Typed| Constructor and Description |
|---|
AbstractTypedPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(D data)
Gets whether this object is compatible with the given data object.
|
compareTo, getInfo, getPriority, setInfo, setPriority, toStringcontext, getContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfopublic boolean supports(D data)
Typed
By default, this method will return true always, since the type is
known to be compatible. But individual implementations may have other
requirements beyond class assignability.
Copyright © 2009–2016 SciJava. All rights reserved.