|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.transformation.classes.NMI2VDSSysInfo
public class NMI2VDSSysInfo
An Adapter class that translates the new NMI based Architecture and OS specifications to VDS ( VDS era ) Arch and Os objects
| Field Summary | |
|---|---|
private static Map<SysInfo.Architecture,Arch> |
mNMIArchToVDSArchMap
The map storing architecture to corresponding NMI architecture platforms. |
private static Map<SysInfo.OS,Os> |
mNMIOSToVDSOSMap
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 | |
|---|---|
NMI2VDSSysInfo()
|
|
| Method Summary | |
|---|---|
static Arch |
nmiArchToVDSArch(String arch)
Returns the VDS Arch object corresponding to the new NMI Architecture object . |
static Arch |
nmiArchToVDSArch(SysInfo.Architecture arch)
Returns the the VDS Arch object corresponding to the new NMI Architecture object . |
static Map<SysInfo.Architecture,Arch> |
NMIArchToVDSArchMap()
Singleton access to the NMI arch to VDS arch map. |
static Os |
nmiOSToVDSOS(String os)
Returns the VDS Os object corresponding to the new NMI OS object . |
static Os |
nmiOSToVDSOS(SysInfo.OS os)
Returns the VDS Os object corresponding to the new NMI OS object . |
static Map<SysInfo.OS,Os> |
NMIOSToVDSOSMap()
Singleton access to the os to NMI os map. |
static VDSSysInfo |
nmiToVDSSysInfo(SysInfo.Architecture arch,
SysInfo.OS os,
String glibc)
Returns the VDS VDSSysInfo object corresponding to the NMI arch and OS |
static VDSSysInfo |
nmiToVDSSysInfo(SysInfo sysinfo)
Returns the VDSSysInfo object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Map<SysInfo.Architecture,Arch> mNMIArchToVDSArchMap
public static final String OS_COMBINE_SEPARATOR
private static Map<SysInfo.OS,Os> mNMIOSToVDSOSMap
| Constructor Detail |
|---|
public NMI2VDSSysInfo()
| Method Detail |
|---|
public static Map<SysInfo.Architecture,Arch> NMIArchToVDSArchMap()
public static Map<SysInfo.OS,Os> NMIOSToVDSOSMap()
public static VDSSysInfo nmiToVDSSysInfo(SysInfo sysinfo)
sysinfo - the sysinfo object
public static VDSSysInfo nmiToVDSSysInfo(SysInfo.Architecture arch,
SysInfo.OS os,
String glibc)
arch - architecture in the new NMI formatos - the os in NMI formatglibc - the glibc version
public static Arch nmiArchToVDSArch(SysInfo.Architecture arch)
arch - architecture in the new NMI format.
public static Arch nmiArchToVDSArch(String arch)
arch - architecture in the new NMI format.
public static Os nmiOSToVDSOS(SysInfo.OS os)
os - the os in the new NMI format.
public static Os nmiOSToVDSOS(String os)
os - the os in the new NMI format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||