code: @Override
      public void submit(StaplerRequest req, StaplerResponse rsp)
              throws ServletException, Descriptor.FormException, IOException {
          super.submit(req, rsp);
  
          makeDisabled(req.getParameter("disable") != null);
  
          template.doConfigSubmit(
                  new TemplateStaplerRequestWrapper(req),
                  new TemplateStaplerResponseWrapper(req.getStapler(), rsp));
  
          ItemListener.fireOnUpdated(this);
  
          // notify the queue as the project might be now tied to different node
          Jenkins.getActiveInstance().getQueue().scheduleMaintenance();
  
          // this is to reflect the upstream build adjustments done above
          Jenkins.getActiveInstance().rebuildDependencyGraphAsync();
      }
docs: Sets various implementation-specific fields and forwards wrapped req/rsp objects on to the
  {@link #template}'s {@link AbstractProject#doConfigSubmit(StaplerRequest, StaplerResponse)} method.
  <br>
  {@inheritDoc}