use of es.bsc.conn.types.SoftwareDescription in project compss by bsc-wdc.
the class Converter method getSoftwareDescription.
/**
* Returns the software description
*
* @param cmrd
* @return
*/
public static SoftwareDescription getSoftwareDescription(CloudMethodResourceDescription cmrd) {
String osType = cmrd.getOperatingSystemType();
String osDist = cmrd.getOperatingSystemDistribution();
String osVersion = cmrd.getOperatingSystemVersion();
List<String> apps = cmrd.getAppSoftware();
CloudImageDescription cid = cmrd.getImage();
MethodConfiguration mc = cid.getConfig();
InstallationDescription installDesc = getInstallationDescription(mc);
return new SoftwareDescription(osType, osDist, osVersion, apps, installDesc);
}
Aggregations