Package omero.api

Class Callback_IScript_getScripts

  • All Implemented Interfaces:
    Ice.TwowayCallback, Ice.TwowayCallbackArg1<java.util.List<OriginalFile>>, Ice.TwowayCallbackArg1UE<java.util.List<OriginalFile>>

    public abstract class Callback_IScript_getScripts
    extends IceInternal.TwowayCallback
    implements Ice.TwowayCallbackArg1UE<java.util.List<OriginalFile>>
    This method returns official server scripts as a list of OriginalFile objects. These scripts will be executed by the server if submitted via runScript. The input parameters necessary for proper functioning can be retrieved via getParams. The OriginalFile.path value can be used in other official scripts via the language specific import command, since the script directory will be placed on the appropriate environment path variable.
     
     scripts = scriptService.getScripts()
     for script in scripts:
     text = scriptService.getScriptText(script.id.val)
     # First character is a "/" symbol
     path = script.path.val\[1:\]
     path = path.replace("/",".")
     print "Possible import: %s" % path
     
     
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void __completed​(Ice.AsyncResult __result)  
      • Methods inherited from class IceInternal.TwowayCallback

        __hasSentCallback, __sent, exception, sent
      • Methods inherited from class IceInternal.CallbackBase

        check
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Ice.TwowayCallback

        exception, exception
      • Methods inherited from interface Ice.TwowayCallbackArg1

        response
      • Methods inherited from interface Ice.TwowayCallbackArg1UE

        exception
    • Constructor Detail

      • Callback_IScript_getScripts

        public Callback_IScript_getScripts()
    • Method Detail

      • __completed

        public final void __completed​(Ice.AsyncResult __result)
        Specified by:
        __completed in class IceInternal.CallbackBase