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);
    }
public void onDeleted ( TopLevelItem item ) throws IOException { ItemListener . fireOnDeleted ( item ) ; items . remove ( item . getName ( ) ) ; for ( View v : views ) v . onJobRenamed ( item , item . getName ( ) , null ) ; }
Called in response to {@link Job#doDoDelete(StaplerRequest, StaplerResponse)}