edu.isi.pegasus.planner.catalog.classes
public class VDSSysInfo2NMI extends Object
Modifier and Type | Field and Description |
---|---|
private static Map |
mVDSArchToNMIArch
The map storing architecture to corresponding NMI architecture platforms.
|
private static Map<Os,SysInfo.OS> |
mVDSOSToNMIOS
The map storing OS to corresponding NMI OS platforms.
|
static String |
OS_COMBINE_SEPARATOR
The separator used to combine OS version and release.
|
Constructor and Description |
---|
VDSSysInfo2NMI() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static SysInfo.Architecture |
vdsArchToNMIArch(Arch arch)
Returns the NMI Architecture object corresponding to the VDS Arch
object
|
static SysInfo.Architecture |
vdsArchToNMIArch(String arch)
Returns the NMI Architecture object corresponding to the VDS Arch
object
|
private static Map<Arch,SysInfo.Architecture> |
vdsArchToNMIArchMap()
Singleton access to the architecture to NMI arch map.
|
static SysInfo.OS |
vdsOsToNMIOS(Os os)
Returns the NMI OS object corresponding to the VDS Os
object
|
static SysInfo.OS |
vdsOsToNMIOS(String os)
Returns the NMI OS object corresponding to the VDS Os
object
|
private static Map<Os,SysInfo.OS> |
vdsOsToNMIOSMap()
Singleton access to the os to NMI os map.
|
static SysInfo |
vdsSysInfo2NMI(VDSSysInfo sysinfo)
Converts VDS SysInfo to NMI based SysInfo object
|
public static final String OS_COMBINE_SEPARATOR
private static Map mVDSArchToNMIArch
private static Map<Os,SysInfo.OS> mVDSOSToNMIOS
private static Map<Arch,SysInfo.Architecture> vdsArchToNMIArchMap()
private static Map<Os,SysInfo.OS> vdsOsToNMIOSMap()
public static SysInfo vdsSysInfo2NMI(VDSSysInfo sysinfo)
sysinfo
- VDS based SysInfo objectpublic static SysInfo.Architecture vdsArchToNMIArch(Arch arch)
arch
- architecture in the VDS format.public static SysInfo.Architecture vdsArchToNMIArch(String arch)
arch
- architecture in the VDS format.public static SysInfo.OS vdsOsToNMIOS(Os os)
os
- os in the VDS format.public static SysInfo.OS vdsOsToNMIOS(String os)
os
- os in the VDS format.public static void main(String[] args)