omero.grid
Class ParamsHelper

java.lang.Object
  extended by omero.grid.ParamsHelper

public class ParamsHelper
extends Object

Since:
Beta4.2

Nested Class Summary
static interface ParamsHelper.Acquirer
          Interface added in order to allow ParamHelper instances to use methods from SharedResourcesI.
 
Field Summary
static String OCTETSTREAM
           
static String PYTHONSCRIPT
          The text representation of the format in a python script.
 
Constructor Summary
ParamsHelper(ParamsHelper.Acquirer acq, Executor ex, Principal p)
           
 
Method Summary
 omero.model.ParseJobI buildParseJob(long id)
          Build a job for the script with id.
 omero.grid.JobParams getOrCreateParams(long id, Ice.Current __current)
          Get the script params for the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PYTHONSCRIPT

public static final String PYTHONSCRIPT
The text representation of the format in a python script.

See Also:
Constant Field Values

OCTETSTREAM

public static final String OCTETSTREAM
See Also:
Constant Field Values
Constructor Detail

ParamsHelper

public ParamsHelper(ParamsHelper.Acquirer acq,
                    Executor ex,
                    Principal p)
Method Detail

buildParseJob

public omero.model.ParseJobI buildParseJob(long id)
                                    throws omero.ServerError
Build a job for the script with id.

Parameters:
id - script id.
Returns:
the job.
Throws:
omero.ServerError

getOrCreateParams

public omero.grid.JobParams getOrCreateParams(long id,
                                              Ice.Current __current)
                                       throws omero.ServerError
Get the script params for the file.

Parameters:
file - the original file.
__current - cirrent
Returns:
jobparams of the script.
Throws:
omero.ServerError


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

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