I am new to Jenkins plugin development.   
 M trying to write a plugin that should be executed **before** any **Multi configuration type job** runs in Jenkins.  

In this plugin I want to write rules that will **check what configuration parameters user has selected** while submitting the job, based on selected parameters, I want to decide whether to **allow the job to run or to restrict it**. 

User should be shown reason as to why that job cannot be run in the **Console Output.**

Does anyone have any ideas which class I need to extend or which interface I need to implement in order to get a hook into Jenkins job run?