public class ScriptFinder extends AbstractContextual
To accomplish this, we crawl the directories specified by
ScriptService.getScriptDirectories()
. By default, those directories
include the scripts
and plugins/Scripts
folders off the
SciJava application's base directory.
Constructor and Description |
---|
ScriptFinder(ScriptService scriptService) |
Modifier and Type | Method and Description |
---|---|
void |
findScripts(List<ScriptInfo> scripts)
Discovers the scripts.
|
context, getContext, setContext
public ScriptFinder(ScriptService scriptService)
public void findScripts(List<ScriptInfo> scripts)
scripts
- The collection to which the discovered scripts are added.Copyright © 2009–2015 SciJava. All rights reserved.