public abstract class AbstractScriptHeader extends AbstractHandlerPlugin<ScriptLanguage> implements ScriptHeader
ScriptHeader
implementations.Constructor and Description |
---|
AbstractScriptHeader() |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<? extends ScriptLanguage> |
handledType() |
boolean |
supports(ScriptLanguage language)
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
getHeader, getType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean supports(ScriptLanguage language)
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.
supports
in interface Typed<ScriptLanguage>
supports
in class AbstractTypedPlugin<ScriptLanguage>
protected abstract Class<? extends ScriptLanguage> handledType()
Copyright © 2015–2022 SciJava. All rights reserved.