@Override protected List<CloudApplication> doRun(CloudFoundryOperations client, SubMonitor progress) throws CoreException { return client.getApplications(); } }.run(monitor);
List<CloudApplication> apps = client.getApplications(); if (apps != null) { for (int i = 0; shouldDelete && i < apps.size(); i++) {
String appName = appModule.getDeploymentInfo().getDeploymentName(); List<CloudApplication> existingApps = client.getApplications(); boolean found = false; for (CloudApplication existingApp : existingApps) {