Constructor and Description |
---|
HostIdEnsuringHostInfo(HostInfo info)
Creates a new instance wrapping the provided
HostInfo object. |
Modifier and Type | Method and Description |
---|---|
String |
getHostId()
Returns a unique id describing a host.
|
String |
getHostName()
Returns a human-readable host name that might change during runtime of
the host.
|
String |
getMachineType()
Returns the computer architecture of this host.
|
String |
getSoftwareType()
Returns the name of the underlying software host system (OS).
|
public HostIdEnsuringHostInfo(HostInfo info)
HostInfo
object.info
- the info object to wrap, not null
and
HostInfo.getHostName()
must return a value.public String getHostId()
HostInfo
public String getHostName()
HostInfo
getHostName
in interface HostInfo
null
in case the host name could
not be determinedpublic String getSoftwareType()
HostInfo
getSoftwareType
in interface HostInfo
null
in case it could not be
determinedpublic String getMachineType()
HostInfo
getMachineType
in interface HostInfo
null
in case
it could not be determinedCopyright © 2018 CoR-Lab. All rights reserved.