You may subscribe to the DataEventDispatcher in your plugin and monitor the events published. But there is a problem: DataEventDispatcher is not an API and it might change without notice with every release (in the past this didn’t happen that often, but we are thinking about replacing the DED with OSGi notifications).
Depending on what you want to do during a state change you might run into synchronization issues. This part is not intended to be extended, so there is no validation in the notification events. This will probably change once we switched to OSGi services for this.
Hi,
I am trying to write a plugin extension for Jubula and one of the case is that I want to execute certain command before AUT is started or Test Suite execution is started. I am aware about the ‘Execute external command’ action already provided
by Jubula. However, I would still like to know if I can catch Jubula’s events in my plugin extension. Especially, the events described in org.eclipse.jubula.client.core.events.DataEventDispatcher. Please let me know if it can be achieved.
Thanks and Regards.
Yuvraj
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
_______________________________________________
jubula-rc-dev mailing list
jubula-rc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jubula-rc-dev