code: public void onDeleted(TopLevelItem item) throws IOException {
          ItemListener.fireOnDeleted(item);
  
          items.remove(item.getName());
          // For compatibility with old views:
          for (View v : views)
              v.onJobRenamed(item, item.getName(), null);
      }
docs: Called in response to {@link Job#doDoDelete(StaplerRequest, StaplerResponse)}