ModificationPublisher

class ModificationPublisher[source]

Bases: object

Base class that publishes an event to registered listeners when public properties of an instance of this class are set or deleted.

Notifications will only be published when the property points to a new value. Events for in-situ modifications (e.g., adding a value to an existing list) will not be received.

Notifications will be sent after the change has already occurred. It is not possible to veto a change using this implementation.

Background: see CAS-9497, which wants to log the PPR XML directives that would otherwise be missing from the casa_pipescript.py

Methods Summary

add_listener(listener)

as_dict()

remove_listener(listener)

Methods Documentation

add_listener(listener)[source]
as_dict()[source]
remove_listener(listener)[source]