4.1

Table Of Contents
PluginTrigger Class
The PluginTrigger class creates a trigger module that obtains information about objects and events to monitor
in the plugged-in technology, on behalf of a Wait Event element in a workflow.
The PluginTrigger class defines methods to obtain or set the type and name of the object to monitor, the nature
of the event, and a timeout period.
You create implementations of the PluginTrigger class exclusively for use by Wait Event elements in
workflows. You define policy triggers for Orchestrator policies in classes that define events and implement
the IPluginEventPublisher.pushTrigger() method.
public class PluginTrigger
extends java.lang.Object
implements java.io.Serializable
The PluginTrigger class defines the following methods:
Method Returns Description
getModuleName() java.lang.String
Obtains the name of the trigger module.
getProperties() java.util.Properties
Obtains a list of properties for the
trigger.
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.Propert
ies 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)
vCenter Orchestrator Developer's Guide
216 VMware, Inc.