|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.classes.VDSSysInfo2NMI
public class VDSSysInfo2NMI
An Adapter class that translates the old ( VDS era ) Arch and Os objects to the new NMI based Architecture and OS objects.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
VDSSysInfo2NMI()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OS_COMBINE_SEPARATOR
private static Map mVDSArchToNMIArch
private static Map<Os,SysInfo.OS> mVDSOSToNMIOS
| Constructor Detail |
|---|
public VDSSysInfo2NMI()
| Method Detail |
|---|
private static Map<Arch,SysInfo.Architecture> vdsArchToNMIArchMap()
private static Map<Os,SysInfo.OS> vdsOsToNMIOSMap()
public static SysInfo vdsSysInfo2NMI(VDSSysInfo sysinfo)
sysinfo - VDS based SysInfo object
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||