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.
|
getInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic boolean supports(D data)
Typed
By default, this method will return true iff the data is assignable
to the associated type given by Typed.getType(). But individual
implementations may have other requirements beyond class assignability.
Copyright © 2015–2022 SciJava. All rights reserved.