4.0

Table Of Contents
Table 7-38. Element Hierarchy
Parent Element Child Element
<constructor> <parameter>
Constructor parameter Element
The <parameter> element defines the constructor's 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 to use in API documentation. Mandatory attribute.
type
Orchestrator parameter type Parameter type to use in API documentation. Mandatory attribute.
is-optional
true or false If true, value can be null. Optional attribute.
since-version
String Method version. Optional attribute.
Table 7-39. Element Hierarchy
Parent Element Child Elements
<parameters>
None
attributes Element
The <attributes> element is the container for the <object><attribute> elements.
The <attributes> element is optional. The <attributes> element has no attributes.
Table 7-40. Element Hierarchy
Parent Element Child Element
<object> <attribute>
attribute Element
The <attribute> element maps the attributes of a Java class from the plugged-in technology to JavaScript
attributes that the Orchestrator JavaScript engine exposes.
The <attribute> element is optional. A plug-in can have an unlimited number of <attribute> elements. The
<attribute> element has the following attributes.
Type Value Description
java-name
Java attribute Name of the Java attribute. Mandatory attribute.
script-name
JavaScript object Name of the corresponding JavaScript object. Mandatory attribute.
return-type
String The type of object this attribute returns. Appears in the API Explorer documentation.
Optional attribute.
read-only
true or false If true, you cannot modify this attribute. Optional attribute.
is-optional
true or false If true, this field can be null. Optional attribute.
show-in-api
true or false If false, this attribute does not appear in API documentation. Optional attribute.
Chapter 7 Developing Plug-Ins
VMware, Inc. 241