The IPluginNotificationHandler defines methods to notify Orchestrator of different types of event that occur on the objects Orchestrator accesses through the plug-in.

The IPluginNotificationHandler Interface defines the following methods.

Method

Returns

Description

getSessionID()

java.lang.String

Returns the current session ID

notifyElementDeleted(java.lang.String type, java.lang.String id)

Void

Notifies the system that an object with the given type and ID has been deleted

notifyElementInvalidate(java.lang.String type, java.lang.String id)

Void

Notifies the system that an object's relations have changed. You can use the notifyElementInvalidate() method to notify Orchestrator of all changes in relations between objects, not only for relation changes that invalidate an object. For example, adding a child object to a parent represents a change in the relation between the two objects.

notifyElementUpdated(java.lang.String type, java.lang.String id)

Void

Notifies the system that an object's attributes have been modified

notifyMessage(ch.dunes.vso.sdk.api.ErrorLevel severity, java.lang.String type, java.lang.String id, java.lang.String message)

Void

Publishes an error message related to the current module