|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jclouds.compute.domain.OperatingSystem
@Beta public class OperatingSystem
Running Operating system
Constructor Summary | |
---|---|
protected |
OperatingSystem()
|
|
OperatingSystem(OsFamily family,
String name,
String version,
String arch,
String description,
boolean is64Bit)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArch()
architecture of the operating system; ex. |
String |
getDescription()
description of the operating system; ex. |
OsFamily |
getFamily()
Type of the operating system generally, this is used to compare the means by which you use an operating system. |
String |
getName()
name of the operating system; ex. |
String |
getVersion()
version of the operating system; ex. |
int |
hashCode()
|
boolean |
is64Bit()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected OperatingSystem()
public OperatingSystem(@Nullable OsFamily family, @Nullable String name, @Nullable String version, @Nullable String arch, String description, boolean is64Bit)
Method Detail |
---|
@Nullable public OsFamily getFamily()
@Nullable public String getName()
Red Hat Enterprise Linux
os.name
it isn't guaranteed to
match a particular value. For example, this value could be derived from
data parsed for a cloud api or the OVF CIM OSType enum value;
@Nullable public String getArch()
x86_64
generally, this is used to decide whether an operating system will run
certain binaries, for example, a 64bit JDK.
os.arch
it isn't guaranteed to match a particular
value. For example, this value could be derived from data parsed for a
cloud api or the OVF CIM OSType enum value;
@Nullable public String getVersion()
10.0.4
generally, this is used to compare versions of the same operating system
name. It should be meaningful when sorted against, although this isn't
necessary.
os.version
it isn't guaranteed to match a
particular value. For example, this value could be derived from data
parsed for a cloud api or the OVF CIM OSType enum value;
public String getDescription()
CentOS 32-bit
,Other Linux (32-bit)
This is the only required field in the operating system object. In some
implementations, it is this data that is used to parse the value of the
name
, version
, and arch
fields.
public boolean is64Bit()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |