public abstract class ServiceEvent extends ClusterEvent
ServiceEvent class is the base for all service events in Ambari.AmbariEvent.AmbariEventType| Modifier and Type | Field and Description |
|---|---|
protected String |
m_serviceName
The name of the service.
|
protected String |
m_stackName
The name of the services' stack.
|
protected String |
m_stackVersion
The version of the services' stack.
|
m_clusterIdm_eventType| Constructor and Description |
|---|
ServiceEvent(AmbariEvent.AmbariEventType eventType,
long clusterId,
String stackName,
String stackVersion,
String serviceName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServiceName() |
String |
getStackName() |
String |
getStackVersion() |
getClusterIdgetType, toStringprotected final String m_serviceName
protected final String m_stackName
protected final String m_stackVersion
public ServiceEvent(AmbariEvent.AmbariEventType eventType, long clusterId, String stackName, String stackVersion, String serviceName)
eventType - clusterId - Copyright © 2022 Apache Software Foundation. All rights reserved.