4.1

Table Of Contents
Method parameters Element
The <parameters> element is the container for the <method><parameter> elements.
The <parameters> element is optional. The <parameters> element has no attributes.
Table 7-46.
Parent Element Child Element
<method> <parameter>
Method parameter Element
The <parameter> element defines the method's input parameters.
The <parameter> element is optional. A plug-in can have an unlimited number of <parameter> elements. The
<parameter> element has the following attributes.
Type Value Description
name
String Parameter name. Mandatory attribute.
type
Orchestrator parameter type Parameter type. Mandatory attribute.
is-optional
true or false If true, value can be null. Optional
attribute.
since-version
String Method version. Optional attribute.
Table 7-47. Element Hierarchy
Parent Element Child Element
<parameters>
None
singleton Element
The <singleton> element creates a JavaScript scripting object as a singleton instance.
A singleton object behaves in the same way as a static Java class. Singleton objects define generic objects for
the plug-in to use, rather than defining specific instances of objects that Orchestrator accesses in the plugged-
in technology. For example, you can use a singleton object to establish the connection to the plugged-in
technology.
The <singleton> element is optional. The <singleton> element has the following attributes.
Type Value Description
script-name
JavaScript object Name of the corresponding JavaScript
object. Mandatory attribute.
datasource
Java object The source Java object for this JavaScript
object. Mandatory attribute.
Table 7-48. Element Hierarchy
Parent Element Child Element
<object>
None
Chapter 7 Developing Plug-Ins
VMware, Inc. 239