public class ReportedOs extends Object implements Serializable, Cloneable
A registered instance's reported operating system.
Constructor and Description |
---|
ReportedOs() |
Modifier and Type | Method and Description |
---|---|
ReportedOs |
clone() |
boolean |
equals(Object obj) |
String |
getFamily()
The operating system family.
|
String |
getName()
The operating system name.
|
String |
getVersion()
The operating system version.
|
int |
hashCode() |
void |
setFamily(String family)
The operating system family.
|
void |
setName(String name)
The operating system name.
|
void |
setVersion(String version)
The operating system version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportedOs |
withFamily(String family)
The operating system family.
|
ReportedOs |
withName(String name)
The operating system name.
|
ReportedOs |
withVersion(String version)
The operating system version.
|
public String getFamily()
public void setFamily(String family)
family
- The operating system family.public ReportedOs withFamily(String family)
Returns a reference to this object so that method calls can be chained together.
family
- The operating system family.public String getName()
public void setName(String name)
name
- The operating system name.public ReportedOs withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The operating system name.public String getVersion()
public void setVersion(String version)
version
- The operating system version.public ReportedOs withVersion(String version)
Returns a reference to this object so that method calls can be chained together.
version
- The operating system version.public String toString()
toString
in class Object
Object.toString()
public ReportedOs clone()
Copyright © 2015. All rights reserved.