serverTypeId = server.getServer().getServerType().getId();
}
@Override
public void run() {
IRSECoreRegistry coreReg = RSECorePlugin.getTheCoreRegistry();
ISystemRegistry sysReg = RSECorePlugin.getTheSystemRegistry();
String systemTypeId = CloudFoundryBrandingExtensionPoint.getRemoteSystemTypeId(serverTypeId);
if (systemTypeId != null && systemTypeId.trim().length() > 0) {
IRSESystemType systemType = coreReg.getSystemTypeById(systemTypeId);
IHost host = null;
IHost[] hosts = sysReg.getHostsBySystemType(systemType);
if (hosts.length >= 1) {
host = hosts[0];
}