Cisco Cisco Unified IP Interactive Voice Response (IVR) 8.0(1) リリースノート
Chapter 2 Cisco Unified CCX Editor Palette Step Descriptions
Java Steps
2-344
Cisco Unified Contact Center Express Editor Step Reference Guide, Release 8.0(1)
describes the properties of the Class Information Tab of the Create
Java Object customizer window.
Execute Java Method Step
Use the Execute Java Method step to execute a specified static or non-static
method of a Java class for a defined variable.
method of a Java class for a defined variable.
Note
You can only use methods compatible with JDK 1.4.2_05 (Java 2),
The expression language now allows calling Java methods directly on objects,
variables or other expressions in a form natural to Java developers.
variables or other expressions in a form natural to Java developers.
For example, you could enter:
<var>.toString()
to invoke the to String() method of the object stored in the specified script
variable. This is more useful for calling static methods, as they do not require a
dummy variable of the same type. One can simply say:
variable. This is more useful for calling static methods, as they do not require a
dummy variable of the same type. One can simply say:
<classname>.<method>(<args>).
Table 2-152
Create Java Object Properties—Class Information Tab
Properties / Buttons
Description
Constructor
Drop-down menu from which you choose the
applicable constructor for the specific Java class.
applicable constructor for the specific Java class.
Argument/Type/Value
(Display only) A list of the arguments, types, and
values for the chosen constructor.
values for the chosen constructor.
Set (button)
To assign the value to the constructor, highlight
the entry in the Argument list box and click Set.
Choose a value from the Variable drop-down
list—or use the Expressions Editor to specify a
value—and then click OK; the value appears in
the Value column next to the Argument you
selected.
the entry in the Argument list box and click Set.
Choose a value from the Variable drop-down
list—or use the Expressions Editor to specify a
value—and then click OK; the value appears in
the Value column next to the Argument you
selected.