Class BatchControlConfigurationLink

java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.batchcontrol.config.BatchControlConfigurationLink
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject

@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class BatchControlConfigurationLink extends ManagementLink
e2e-03 DEF-10 (SPEC section 6, usability): BatchControl/Manage is enough to open and save the Batch Control configuration. Core's system configuration page needs Overall/Manage, which a BatchControl/Manage holder may not have, so the same configuration is also served at /batch-control-configuration/ (Jenkins resolves a management link at the root URL too). It is listed on "Manage Jenkins" for users who can open that page, and linked from the Batch Control page for everyone else holding the permission.

The form is the configuration's own config.jelly; saving goes through BatchControlGlobalConfiguration.configure(org.kohsuke.stapler.StaplerRequest2, net.sf.json.JSONObject), so validation (DEF-08), the transactional write and the toggle records are exactly those of the system configuration page.