D
- Data type associated with the plugin.public abstract class AbstractTypedPlugin<D> extends AbstractRichPlugin implements TypedPlugin<D>
TypedPlugin
s.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, 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 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.