public interface ScriptHeaderService extends HandlerService<ScriptLanguage,ScriptHeader>, SciJavaService
HandlerService
capable of mapping
ScriptLanguage
s to ScriptHeader
s.
NB: although individual/highest priority handlers can be queried as normal
via a HandlerService
, the
getHeader(ScriptLanguage)
method will combine the headers
for all available ScriptHeader
s for a given ScriptLanguage
.
Modifier and Type | Method and Description |
---|---|
default String |
getHeader(ScriptLanguage language)
Searches for all
ScriptHeader s capable of handling the given
ScriptLanguage and combines the result of their
ScriptHeader.getHeader() output to a single string. |
default Class<ScriptHeader> |
getPluginType()
Gets the type of plugins managed by this service.
|
default Class<ScriptLanguage> |
getType()
Gets the type associated with the object.
|
getHandler, getInstances, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default String getHeader(ScriptLanguage language)
ScriptHeader
s capable of handling the given
ScriptLanguage
and combines the result of their
ScriptHeader.getHeader()
output to a single string.language
- - Language to look updefault Class<ScriptHeader> getPluginType()
PTService
getPluginType
in interface PTService<ScriptHeader>
default Class<ScriptLanguage> getType()
Typed
getType
in interface Typed<ScriptLanguage>
Copyright © 2015–2022 SciJava. All rights reserved.