|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.compute.domain.OperatingSystem
@Beta public class OperatingSystem
Running Operating system
Nested Class Summary | |
---|---|
static class |
OperatingSystem.Builder
|
Field Summary | |
---|---|
protected String |
arch
|
protected String |
description
|
protected OsFamily |
family
|
protected boolean |
is64Bit
|
protected String |
name
|
protected String |
version
|
Constructor Summary | |
---|---|
protected |
OperatingSystem()
|
|
OperatingSystem(OsFamily family,
String name,
String version,
String arch,
String description,
boolean is64Bit)
|
Method Summary | |
---|---|
static OperatingSystem.Builder |
builder()
|
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()
|
OperatingSystem.Builder |
toBuilder()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@Nullable protected OsFamily family
@Nullable protected String name
@Nullable protected String arch
@Nullable protected String version
protected String description
protected boolean is64Bit
Constructor Detail |
---|
protected OperatingSystem()
public OperatingSystem(@Nullable OsFamily family, @Nullable String name, @Nullable String version, @Nullable String arch, String description, boolean is64Bit)
Method Detail |
---|
public static OperatingSystem.Builder builder()
@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 OperatingSystem.Builder toBuilder()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |