List of usage examples for org.springframework.ide.eclipse.boot.dash.model RunTarget getId
String getId();
From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.CloudFoundryTargetWizardModel.java
protected RunTarget getExistingRunTarget(CFSpace space) { if (space != null) { String targetId = CloudFoundryTargetProperties.getId(getUsername(), getUrl(), space.getOrganization().getName(), space.getName()); for (RunTarget target : existingTargets) { if (targetId.equals(target.getId())) { return target; }/*from w w w. ja v a 2s . com*/ } } return null; }