How to run my beforeCheckin() after code analysis and TODO checking

Answered

I make the plugin that edit commit message. I want to run my code after a code analysis performed.

I use vcsCheckinHandlerFactory extension point, class that extends CheckinHandler and method beforeCheckin()

Upd: for example https://github.com/yrakovets/checkinFactoryJB

0
4 comments

I'm not sure I understand your question correctly, but adding

order="last"

to your CheckinHandlerFactory registration in plugin.xml might do it.

0

Yann, thank you for the answer, but I tried this method and it doesn't work

0
Avatar
Permanently deleted user

Currently, you could utilize <checkinHandlerFactory /> extension point instead - check manually that necessary vcs is affected and use order="last".

Or alternatively you could implement CheckinMetaHandler interface in your checkin handler.

0

Yes, my fault. Thank you. The question can be marked as answered

0

Please sign in to leave a comment.