5051525354555657585960
// filter by location if (location != null) { for (DeploymentEntry de : dp.getEntries().toArray(new DeploymentEntry[0])) { if (!location.equals(de.getLocation())) { dp.removeEntry(de); } } } ResponseBuilder rb = Response.ok(dp);
207208209210211212213214215216217
de.getProperties().remove(propName); } } // replace the existing entry with the new one dp.removeEntry(de); dp.addEntry(de); dm.savePlan(); redirectToRun(response); }
347348349350351352353354355356357
DeploymentPlan dp = getSessionDeploymentPlan(request); // find the entry and remove it DeploymentEntry de = dp.getEntry(name); if (de != null) { dp.removeEntry(de); } redirectToEditRunners(response); }