Class 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 ScriptFinder.createJob(ServiceFactory)
    Since:
    Beta4.1
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 class ScriptFinder