4.1

Table Of Contents
object Element
The <object> element maps the plugged-in technology's constructors, attributes, and methods to JavaScript
object types that the Orchestrator scripting API exposes.
See “Naming Plug-In Objects,” on page 147 for object naming conventions.
The <object> element is optional. A plug-in can have an unlimited number of <object> elements. The
<object> element has the following attributes.
Type Value Description
script-name
JavaScript name Scripting name of the class. Must be
globally unique. Mandatory attribute.
java-class
Java class The Java class wrapped by this
JavaScript class. Mandatory attribute.
create
true (default) or false If true, you can create a new instance of
this class. Optional attribute.
strict
true or false (default) If true, you can only call methods you
annotate or declare in the vso.xml file.
Optional attribute.
is-deprecated
true or false (default) If true, the object maps a deprecated
Java class. Optional attribute.
since-version
String Version since the Java class is
deprecated. Optional attribute.
Table 7-35. Element Hierarchy
Parent Element Child Elements
<scripting-objects>
n
<description>
n
<deprecated>
n
<url>
n
<constructors>
n
<attributes>
n
<methods>
n
<singleton>
constructors Element
The <constructors> element is the container for the <object><constructor> elements.
The <constructors> element is optional. The <constructors> element has no attributes.
Table 7-36. Element Hierarchy
Parent Element Child Element
<object> <constructor>
constructor Element
The <constructor> element defines a constructor method. The <constructor> method produces documentation
in the API Explorer.
The <constructor> element is optional. A plug-in can have an unlimited number of <constructor> elements.
The <constructor> element has no attributes.
Chapter 7 Developing Plug-Ins
VMware, Inc. 235