*/
@Extension
public static final class RenameListener extends ItemListener {
@Override
public void onRenamed(Item item, String oldName, String newName) {
ItemGroup context = item.getParent();
String full = isEmpty(context.getFullName()) ? "" : context.getFullName() + '/';
String fullOldName = full + oldName;
String fullNewName = full + newName;
for (Project<?,?> p : Jenkins.getInstance().getAllItems(Project.class)) {
boolean changed = false;
//iterate over post build triggers