Package omero :: Package plugins :: Module prefs
[hide private]
[frames] | no frames]

Module prefs

source code

prefs plugin

Plugin read by omero.cli.Cli during initialization. The method(s) defined here will be added to the Cli class for later use.

The pref plugin makes use of prefs.class from the common component.

Copyright 2007 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt

Classes [hide private]
  PrefsControl
Functions [hide private]
 
getprefs(args, dir)
Kept around temporarily for upgrading users from pre-4.2 configurations.
source code
 
_make_open_and_close_config(func, allow_readonly) source code
 
with_config(func)
opens a config and passes it as the second argument.
source code
 
with_rw_config(func)
opens a config and passes it as the second argument.
source code
Variables [hide private]
  HELP = """Commands for server configurat...

Imports: sys, portalocker, path, CLI, BaseControl, ExistingFile, NonZeroReturnCode, ConfigXml, edit_path, get_user_dir, wraps, omero


Function Details [hide private]

with_rw_config(func)

source code 

opens a config and passes it as the second argument. Requires that the returned config be writeable


Variables Details [hide private]

HELP

Value:
"""Commands for server configuration

A config.xml file will be modified under your etc/grid directory. If y\
ou do
not have one, "upgrade" will create a new 4.2 configuration file.

The configuration values are used by bin/omero admin {start,deploy} to\
 set
...