public abstract class ScriptFinder extends Object
createJob(ServiceFactory) method in order to allow
 simple creation of processors.| Modifier and Type | Field and Description | 
|---|---|
protected org.slf4j.Logger | 
log  | 
| Constructor and Description | 
|---|
ScriptFinder(Roles roles,
            Principal principal,
            Executor executor,
            File source)  | 
ScriptFinder(Roles roles,
            String uuid,
            Executor executor,
            File source)  | 
| Modifier and Type | Method and Description | 
|---|---|
omero.model.ScriptJob | 
createJob(ServiceFactory sf)
Returns a fresh (unsaved)  
ScriptJob which can be passed to
 acquireProcessor for background processing. | 
omero.model.OriginalFileI | 
getFile(ServiceFactory sf)  | 
abstract String | 
getName()
Subclasses should override to return the name of the file under scripts/
 which should be uploaded. 
 | 
protected List<OriginalFile> | 
loadScripts(ServiceFactory sf,
           Parameters p)
Load all scripts that match the name, hash, and format for script 
 | 
public abstract String getName()
public omero.model.OriginalFileI getFile(ServiceFactory sf)
protected List<OriginalFile> loadScripts(ServiceFactory sf, Parameters p)
public omero.model.ScriptJob createJob(ServiceFactory sf)
ScriptJob which can be passed to
 acquireProcessor for background processing.
                
                
Version: 5.2.3-ice35-b22
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.