public class ParamsHelper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ParamsHelper.Acquirer
Interface added in order to allow ParamHelper instances to use methods
from SharedResourcesI.
|
Constructor and Description |
---|
ParamsHelper(ParamsHelper.Acquirer acq,
Executor ex,
Principal p) |
Modifier and Type | Method and Description |
---|---|
omero.model.ParseJobI |
buildParseJob(long id)
Build a job for the script with id.
|
omero.grid.JobParams |
generateScriptParams(long id,
boolean save,
Ice.Current __current)
Acquires an
InteractiveProcessorPrx and runs a ParseJob . |
omero.grid.JobParams |
getOrCreateParams(long id,
Ice.Current __current)
Get the script params for the file.
|
public ParamsHelper(ParamsHelper.Acquirer acq, Executor ex, Principal p)
public omero.model.ParseJobI buildParseJob(long id) throws omero.ServerError
id
- script id.omero.ServerError
public omero.grid.JobParams getOrCreateParams(long id, Ice.Current __current) throws omero.ServerError
file
- the original file.__current
- cirrentomero.ServerError
public omero.grid.JobParams generateScriptParams(long id, boolean save, Ice.Current __current) throws omero.ServerError
InteractiveProcessorPrx
and runs a ParseJob
.
If the "save" argument is true, then the JobParams
instance will
be saved to the database; otherwise, the ParseJob
will be deleted.omero.ServerError
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.