Export a class.
class export class dir [ --force ] [ --nocompress ]
name of class to be exported. May specify one of the following:
application/catalog:class - export local application catalog class
/catalog:class - export global catalog class
Name of exchange directory relative to /vol/_impex where class is to be exported to
Option to allow exporting of class even if it is already present (that is, the class is removed and then exported)
Do not compress class volumes.
class export sugarcrm/local:NAS nas
Export application local catalog class
class export /system:NAS nas
Export global catalog class
Note:If executed by a grid maintainer, the exchange directory (<dir>) argument may contain a subdirectory relative to the /vol/_impex directory.
Display class descriptor.
class get_desc class
name of class for which to display descriptor May specify one of the following:
application:class - display application singleton class descriptor
application/catalog:class - display application local catalog class descriptor
/catalog:class - display global catalog class descriptor
class get_desc /system:MYCLASS
display global catalog class descriptor
class get_desc myapp:MYCLASS
display application singleton class descriptor
Import a class to a package.
class import <class> <dir> [ store=<store> ] [--force] [ user=<user> [ pwd=- ] ]
name of class to be imported. May specify one of the following:
application/catalog:class - import local application catalog class
/catalog:class - import global catalog class
Name of exchange directory from which the class is to be imported. The directory may be one of the following:
- directory relative to /vol/_impex
- URL with the following format 'http://path'.
Specifies the volume store where volumes are created. May be set to one of the following values:
local - store volumes on local server storage
san - store volumes on a SAN
Option to allow importing of class even if it is already present (that is, the class is removed and then imported)
Name of user to use for authentication purposes when importing the class from a URL
(Optional) Prompt for password to use for authentication purposes when importing the class from a URL. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
class import /system:MYSQL5 mysql5
import 'MYSQL5' class to global catalog
class import my-app/local:MYSQL mysql
import 'MYSQL' class to local catalog of application 'my-app'
Note: If executed by a grid maintainer, the exchange directory (<dir>) argument may contain a subdirectory relative to the /vol/_impex directory.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|