4.0

Table Of Contents
Type Value Description
is-deprecated
true or false If true, the object maps a deprecated attribute. Optional attribute.
since-version
Number The version at which the attribute was deprecated. Optional attribute.
Table 7-41. Element Hierarchy
Parent Element Child Elements
<attributes>
None
methods Element
The <methods> element is the container for the <object><method> elements.
The <methods> element is optional. The <methods> element has no attributes.
Table 7-42. Element Hierarchy
Parent Element Child Element
<object> <method>
method Element
The <method> element maps a Java method from the plugged-in technology to a JavaScript method that the
Orchestrator JavaScript engine exposes.
The <method> element is optional. A plug-in can have an unlimited number of <method> elements. The
<method> element has the following attributes.
Type Value Description
java-name
Java method Name of the Java method signature with argument types in parenthesis, for
example, getVms(DataStore). Mandatory attribute.
script-name
JavaScript method Name of the corresponding JavaScript method. Mandatory attribute.
return-type
Java object type The type this method obtains. Optional attribute.
static
true or false If true, this method is static. Optional attribute.
show-in-api
true or false If false, this method does not appear in API documentation. Optional attribute.
is-deprecated
true or false If true, the object maps a deprecated method. Optional attribute.
since-version
Number The version at which the method was deprecated. Optional attribute.
Table 7-43. Element Hierarchy
Parent Element Child Elements
<methods>
n
<deprecated>
n
<description>
n
<example>
n
<parameters>
example Element
The <example> element allows you to add code examples to Javascript methods that appear in the API Explorer
documentation.
The <example> element is optional. The <example> element has no attributes.
vCenter Orchestrator Developer's Guide
242 VMware, Inc.