public abstract class AmbariEvent extends Object
AmbariEvent
class is the base for all events in Ambari.Modifier and Type | Class and Description |
---|---|
static class |
AmbariEvent.AmbariEventType
The
AmbariEvent.AmbariEventType defines the type of Ambari event. |
Modifier and Type | Field and Description |
---|---|
protected AmbariEvent.AmbariEventType |
m_eventType
The concrete event's type.
|
Constructor and Description |
---|
AmbariEvent(AmbariEvent.AmbariEventType eventType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AmbariEvent.AmbariEventType |
getType()
Gets the type of
AmbariEvent . |
String |
toString() |
protected final AmbariEvent.AmbariEventType m_eventType
public AmbariEvent(AmbariEvent.AmbariEventType eventType)
eventType
- the type of event (not null
).public AmbariEvent.AmbariEventType getType()
AmbariEvent
.null
).Copyright © 2022 Apache Software Foundation. All rights reserved.