| java.lang.Object org.griphyn.common.classes.SysInfo
SysInfo | public class SysInfo (Code) | | This class keeps the system information associated with a
resource or transformation.
author: Gaurang Mehta gmehta@isi.edu version: $Revision: 316 $ |
SysInfo | public SysInfo(Arch arch, Os os, String osversion, String glibc)(Code) | | The secondary convenience constructor.
Parameters: arch - Arch The architecture of the system. Parameters: os - Os The os of the system. Parameters: osversion - String The os version of the system. Parameters: glibc - String The glibc version of the system. See Also: Arch See Also: Os |
SysInfo | public SysInfo(String arch, String os, String glibc)(Code) | | Another convenience constructor that uses all entries as strings.
Parameters: arch - String Parameters: os - String Parameters: glibc - String |
SysInfo | public SysInfo(String arch, String os, String osversion, String glibc)(Code) | | Another convenience constructor that uses all entries as strings.
Parameters: arch - String Parameters: os - String Parameters: osversion - String Parameters: glibc - String |
SysInfo | public SysInfo()(Code) | | The default constructor.
Sets the sysinfo to INTEL32::LINUX
|
clone | public Object clone()(Code) | | Return a copy of this Sysinfo object
Object |
equals | public boolean equals(Object obj)(Code) | | Check if the system information matches.
Parameters: obj - to be compared. boolean |
getArch | public Arch getArch()(Code) | | Returns the architecture of the sytem.
Arch See Also: Arch |
getGlibc | public String getGlibc()(Code) | | Retuns the glibc version of the system.
String |
getOs | public Os getOs()(Code) | | Returns the os type of the system.
Os See Also: Os |
getOsversion | public String getOsversion()(Code) | | Returns the os version of the system.
String |
setArch | public void setArch(Arch arch)(Code) | | Sets the architecture of the system.
Parameters: arch - Arch See Also: Arch |
setGlibc | public void setGlibc(String glibc)(Code) | | Sets the glibc version of the system
Parameters: glibc - String |
setOs | public void setOs(Os os)(Code) | | Sets the Os of the sytem.
Parameters: os - Os See Also: Os |
setOsversion | public void setOsversion(String osversion)(Code) | | Sets the Os version of the system.
Parameters: osversion - String |
toString | public String toString()(Code) | | Returns the output of the data class as string.
String |
|
|