public class ModuleAdapter extends AbstractContextual
Module
(such as a Command
) to be usable as
an OMERO script, converting information between ImageJ- and OMERO-compatible
formats as appropriate.Constructor and Description |
---|
ModuleAdapter(Context context,
ModuleInfo info,
client client) |
Modifier and Type | Method and Description |
---|---|
RType |
getJobInfo()
Converts ImageJ module metadata to OMERO job metadata.
|
String |
getVersion()
Gets the version of the associated ImageJ module.
|
void |
launch()
Executes the associated ImageJ module as an OMERO script.
|
void |
params()
Parses script parameters for the associated ImageJ module.
|
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public ModuleAdapter(Context context, ModuleInfo info, client client)
public void params() throws ServerError
ServerError
public void launch() throws ServerError, IOException, ExecutionException, Glacier2.PermissionDeniedException, Glacier2.CannotCreateSessionException, DSOutOfServiceException, DSAccessException, NumberFormatException, URISyntaxException
IOException
ServerError
ExecutionException
Glacier2.CannotCreateSessionException
Glacier2.PermissionDeniedException
DSAccessException
DSOutOfServiceException
URISyntaxException
NumberFormatException
public RType getJobInfo()
public String getVersion()
Copyright © 2014–2022 ImageJ. All rights reserved.