4.0

Table Of Contents
Method Returns Description
getSdkId() java.lang.String
Obtains the ID of the object to monitor in the
plugged-in technology.
getSdkType() java.lang.String
Obtains the type of the object to monitor in
the plugged-in technology.
getTimeout()
Long Obtains the trigger timeout period.
setModuleName(java.lang.String
moduleName)
Void Sets the name of the trigger module.
setProperties(java.util.Properties
properties)
Void Sets a list of properties for the trigger.
setSdkId(java.lang.String sdkId)
Void Sets the ID of the object to monitor in the
plugged-in technology.
setSdkType(java.lang.String sdkType)
Void Sets the type of the object to monitor in the
plugged-in technology.
setTimeout(long timeout)
Void Sets a timeout period in seconds. A negative
value deactivates the timeout.
Constructors
n
PluginTrigger()
n
PluginTrigger(java.lang.String moduleName, long timeout, java.lang.String sdkType,
java.lang.String sdkId)
PluginWatcher Class
The PluginWatcher class watches a trigger module for a defined event in the plugged-in technology on behalf
of a long-running workflow Wait Event element.
The PluginWatcher class defines a constructor that you can use to create plug-in watcher instances. The
PluginWatcher class defines methods to obtain or set the name of the workflow trigger to watch and a timeout
period.
public class PluginWatcher
extends java.lang.Object
implements java.io.Serializable
The PluginWatcher class defines the following methods:
Method Returns Description
getId() java.lang.String
Obtains the ID of the trigger
getModuleName() java.lang.String
Obtains the trigger module name
getTimeoutDate()
Long Obtains the trigger timeout date
getTrigger()
Void Obtains a trigger
setId(java.lang.String id)
Void Sets the ID of the trigger
setTimeoutDate()
Void Sets the trigger timeout date
Constructor
PluginWatcher(PluginTrigger trigger)
Chapter 7 Developing Plug-Ins
VMware, Inc. 223