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, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContextpublic ModuleAdapter(Context context, ModuleInfo info, client client)
public void params()
throws ServerError
ServerErrorpublic void launch()
throws ServerError,
IOException,
ExecutionException,
Glacier2.PermissionDeniedException,
Glacier2.CannotCreateSessionException,
DSOutOfServiceException,
DSAccessException,
NumberFormatException,
URISyntaxException
IOExceptionServerErrorExecutionExceptionGlacier2.CannotCreateSessionExceptionGlacier2.PermissionDeniedExceptionDSAccessExceptionDSOutOfServiceExceptionURISyntaxExceptionNumberFormatExceptionpublic RType getJobInfo()
public String getVersion()
Copyright © 2014–2022 ImageJ. All rights reserved.