Controls get registered with a CLI instance on loadplugins().
To create a new control, subclass BaseControl, implement _configure,
and end your module with:
This module should be put in the omero.plugins package.
All methods which do NOT begin with "_" are assumed to be
accessible to CLI users.
|
|
|
|
|
|
|
_node(self,
omero_node=None)
Return the name of this node, using either the environment vairable
OMERO_NODE or _host(). |
source code
|
|
|
_icedata(self,
property)
General data method for creating a path from an Ice property. |
source code
|
|
|
_initDir(self)
Initialize the directory into which the current node will log. |
source code
|
|
|
|
|
|
|
_pid(self)
Returns a path of the form "_nodedata() / _node() +
".pid", i.e. |
source code
|
|
|
|
|
_icecfg(self)
Uses _cfglist() to return a string argument of the form
"--Ice.Config=..." suitable for passing to omero.client as
an argument. |
source code
|
|
|
_intcfg(self)
Returns an Ice.Config string with only the internal configuration
file for connecting to the IceGrid Locator. |
source code
|
|
|
_properties(self,
prefix="")
Loads all files returned by _cfglist() into a new Ice.Properties
instance and return the map from getPropertiesForPrefix(prefix) where
the default is to return all properties. |
source code
|
|
|
_ask_for_password(self,
reason="",
root_pass=None) |
source code
|
|
|
_complete_file(self,
f,
dir=None)
f: path part |
source code
|
|
|
_complete(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
_complete2(self,
text,
line,
begidx,
endidx) |
source code
|
|