I have a forked a plugin which right now is available only in 'freestyle build or generic build'. I want the plugin to be available to maven build configuration as well but am confused as to what the extension point for that is and how to make that change. In the plugin configurator java class I see the following :
@Override
public boolean configure(StaplerRequest req, JSONObject json) throws FormException {
req.bindParameters(this, "generic");
//req.bindParameters(this , "maven" );
save();
return true;
}
As you can see req.bindParamter right now targets 'generic' , adding maven underneath doesn't help. So what exactly is the bindParameter for and what other method should I bee looking to resolve my query ?