public abstract class HostEvent extends AmbariEvent
HostEvent represents all events in Ambari that occur directly on
a host. This excludes events on the host's services and components.AmbariEvent.AmbariEventType| Modifier and Type | Field and Description |
|---|---|
protected String |
m_hostName
The host's name.
|
m_eventType| Constructor and Description |
|---|
HostEvent(AmbariEvent.AmbariEventType eventType,
String hostName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostName()
Gets the host's name that the event belongs to.
|
getType, toStringprotected final String m_hostName
public HostEvent(AmbariEvent.AmbariEventType eventType, String hostName)
eventType - public String getHostName()
Copyright © 2022 Apache Software Foundation. All rights reserved.