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 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 1. Element Hierarchy

Parent Element

Child Elements

<scripting-objects>

  • <description>

  • <deprecated>

  • <url>

  • <constructors>

  • <attributes>

  • <methods>

  • <singleton>