Package ome.services.roi
Class PopulateRoiJob
- java.lang.Object
-
- ome.services.scripts.ScriptFinder
-
- ome.services.roi.PopulateRoiJob
-
public class PopulateRoiJob extends ScriptFinder
Start-up task which guarantees that lib/python/populateroi.py is added as a script to the server. Then, users like MetadataStoreI who would like to run populateroi.py scripts, can useScriptFinder.createJob(ServiceFactory)
- Since:
- Beta4.1
-
-
Field Summary
-
Fields inherited from class ome.services.scripts.ScriptFinder
log
-
-
Constructor Summary
Constructors Constructor Description PopulateRoiJob(ome.system.Roles roles, java.lang.String uuid, ome.services.util.Executor executor)
PopulateRoiJob(ome.system.Roles roles, java.lang.String uuid, ome.services.util.Executor executor, java.io.File source)
PopulateRoiJob(ome.system.Roles roles, ome.system.Principal principal, ome.services.util.Executor executor, java.io.File source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Subclasses should override to return the name of the file under scripts/ which should be uploaded.-
Methods inherited from class ome.services.scripts.ScriptFinder
createJob, getFile, loadScripts
-
-
-
-
Constructor Detail
-
PopulateRoiJob
public PopulateRoiJob(ome.system.Roles roles, java.lang.String uuid, ome.services.util.Executor executor)
-
PopulateRoiJob
public PopulateRoiJob(ome.system.Roles roles, java.lang.String uuid, ome.services.util.Executor executor, java.io.File source)
-
PopulateRoiJob
public PopulateRoiJob(ome.system.Roles roles, ome.system.Principal principal, ome.services.util.Executor executor, java.io.File source)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:ScriptFinder
Subclasses should override to return the name of the file under scripts/ which should be uploaded.- Specified by:
getName
in classScriptFinder
-
-