Package org.scijava.script
Interface ScriptHeader
-
- All Superinterfaces:
Comparable<Prioritized>,Contextual,HandlerPlugin<ScriptLanguage>,HasPluginInfo,Identifiable,Locatable,Logged,Prioritized,RichPlugin,SciJavaPlugin,SingletonPlugin,Typed<ScriptLanguage>,TypedPlugin<ScriptLanguage>,Versioned
- All Known Implementing Classes:
AbstractScriptHeader
public interface ScriptHeader extends HandlerPlugin<ScriptLanguage>
Represents one or more canned lines intended to go at the top of scripts of a given language. Typically this includes useful import statements.- Author:
- Mark Hiner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetHeader()default Class<ScriptLanguage>getType()Gets the type associated with the object.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
getHeader
String getHeader()
- Returns:
- The header text for scripts of the supported language.
-
getType
default Class<ScriptLanguage> getType()
Description copied from interface:TypedGets the type associated with the object.- Specified by:
getTypein interfaceTyped<ScriptLanguage>
-
-