edu.isi.pegasus.planner.catalog.transformation.classes
public class VDSSysInfo extends Object
Modifier and Type | Field and Description |
---|---|
private Arch |
arch
Architecture of the system.
|
private String |
glibc
Glibc version of the system
|
private Os |
os
Os of the system.
|
private String |
osversion
Os version of the system.
|
Constructor and Description |
---|
VDSSysInfo()
The default constructor.
|
VDSSysInfo(Arch arch,
Os os,
String osversion,
String glibc)
The secondary convenience constructor.
|
VDSSysInfo(String system) |
VDSSysInfo(String arch,
String os,
String glibc)
Another convenience constructor that uses all entries as strings.
|
VDSSysInfo(String arch,
String os,
String osversion,
String glibc)
Another convenience constructor that uses all entries as strings.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Return a copy of this Sysinfo object
|
boolean |
equals(Object obj)
Check if the system information matches.
|
Arch |
getArch()
Returns the architecture of the sytem.
|
String |
getGlibc()
Retuns the glibc version of the system.
|
Os |
getOs()
Returns the os type of the system.
|
String |
getOsversion()
Returns the os version of the system.
|
void |
setArch(Arch arch)
Sets the architecture of the system.
|
void |
setGlibc(String glibc)
Sets the glibc version of the system
|
void |
setOs(Os os)
Sets the Os of the sytem.
|
void |
setOsversion(String osversion)
Sets the Os version of the system.
|
String |
toString()
Returns the output of the data class as string.
|
private Arch arch
private Os os
private String osversion
private String glibc
public VDSSysInfo(Arch arch, Os os, String osversion, String glibc)
public VDSSysInfo(String arch, String os, String glibc)
arch
- Stringos
- Stringglibc
- Stringpublic VDSSysInfo(String arch, String os, String osversion, String glibc)
arch
- Stringos
- Stringosversion
- Stringglibc
- Stringpublic VDSSysInfo(String system)
public VDSSysInfo()
public void setArch(Arch arch)
arch
- ArchArch
public void setOsversion(String osversion)
osversion
- Stringpublic void setGlibc(String glibc)
glibc
- Stringpublic String getOsversion()
public String getGlibc()
public Object clone()
public boolean equals(Object obj)