ome.services.roi
Class PopulateRoiJob

java.lang.Object
  extended by ome.services.scripts.ScriptFinder
      extended by 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 use #createJob()

Since:
Beta4.1

Field Summary
 
Fields inherited from class ome.services.scripts.ScriptFinder
log
 
Constructor Summary
PopulateRoiJob(Roles roles, Principal principal, Executor executor, File source)
           
PopulateRoiJob(Roles roles, String uuid, Executor executor)
           
PopulateRoiJob(Roles roles, String uuid, Executor executor, File source)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulateRoiJob

public PopulateRoiJob(Roles roles,
                      String uuid,
                      Executor executor)

PopulateRoiJob

public PopulateRoiJob(Roles roles,
                      String uuid,
                      Executor executor,
                      File source)

PopulateRoiJob

public PopulateRoiJob(Roles roles,
                      Principal principal,
                      Executor executor,
                      File source)
Method Detail

getName

public 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 class ScriptFinder


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.