Package omero.grid

Class ParamsHelper


  • public class ParamsHelper
    extends java.lang.Object
    Since:
    Beta4.2
    • Constructor Detail

      • ParamsHelper

        public ParamsHelper​(ParamsHelper.Acquirer acq,
                            ome.services.util.Executor ex,
                            ome.system.Principal p)
    • Method Detail

      • buildParseJob

        public ParseJobI buildParseJob​(long id)
                                throws ServerError
        Build a job for the script with id.
        Parameters:
        id - script id.
        Returns:
        the job.
        Throws:
        ServerError - if the job could not be built for the script
      • getOrCreateParams

        public JobParams getOrCreateParams​(long id,
                                           Ice.Current __current)
                                    throws ServerError
        Get the script params for the file.
        Parameters:
        id - the ID of the script
        __current - regarding the method invocation
        Returns:
        jobparams of the script.
        Throws:
        ServerError - if the params could not be retrieved or created