public abstract class ScriptFinder
extends java.lang.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,
java.io.File source) |
ScriptFinder(Roles roles,
java.lang.String uuid,
Executor executor,
java.io.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 java.lang.String |
getName()
Subclasses should override to return the name of the file under scripts/
which should be uploaded.
|
protected java.util.List<OriginalFile> |
loadScripts(ServiceFactory sf,
Parameters p)
Load all scripts that match the name, hash, and format for script
|
public ScriptFinder(Roles roles, java.lang.String uuid, Executor executor, java.io.File source)
public abstract java.lang.String getName()
public omero.model.OriginalFileI getFile(ServiceFactory sf)
protected java.util.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.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.