ExtendedObjectClass - createExtendedObject
ExtendedObjectClass - createExtendedObject
Description :
This command creates an extended object class.
For parsing purposes, each extended object class is associated with a grammar file. The grammarName parameter specifies the associated grammar, for example, hosts.gm.
Each extended object class is associated with several operating systems to which the class is relevant. When you create a new extended object class, you associate a single operating system with the new class. The parameter osNshName is the NSH name of the operating system.
For osNshName, use one of the operating system names listed in addIconAssociation .
The command only associates the extended object class with a single OS. To associate the class with other operating systems, use the command addOSAssociation .
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
extendedObjectName | String | Name of extended object you are adding. |
description | String | Short description for the extended object. |
execScript | String | Script to be executed. |
grammarName | String | Associated grammar file. |
osNshName | String | NSH name of the associated operating system. |
remoteExecute | Boolean | Execute remotely (true) or centrally(false). |