ome.services.roi
Class PopulateRoiJob

java.lang.Object
  extended by ome.services.scripts.ScriptUploader
      extended by ome.services.roi.PopulateRoiJob

public class PopulateRoiJob
extends ScriptUploader

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 ScriptUploader.createJob()

Since:
Beta4.1

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

Constructor Detail

PopulateRoiJob

public PopulateRoiJob(String uuid,
                      Executor executor)

PopulateRoiJob

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

PopulateRoiJob

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

getName

public String getName()
Description copied from class: ScriptUploader
Subclasses should override to return the name of the file under scripts/ which should be uploaded.

Specified by:
getName in class ScriptUploader


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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