public class EventImpl extends Object implements org.apache.ambari.view.events.Event
| Constructor and Description |
|---|
EventImpl(String id,
Map<String,String> properties,
org.apache.ambari.view.ViewDefinition viewSubject)
Construct an event.
|
EventImpl(String id,
Map<String,String> properties,
org.apache.ambari.view.ViewInstanceDefinition viewInstanceSubject)
Construct an event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the event identifier.
|
Map<String,String> |
getProperties()
Get the event properties.
|
org.apache.ambari.view.ViewInstanceDefinition |
getViewInstanceSubject()
Get the instance subject of the event.
|
org.apache.ambari.view.ViewDefinition |
getViewSubject()
Get the view subject of the event.
|
String |
toString() |
public EventImpl(String id, Map<String,String> properties, org.apache.ambari.view.ViewDefinition viewSubject)
id - the event idproperties - the event propertiesviewSubject - the subject of the eventpublic String getId()
getId in interface org.apache.ambari.view.events.Eventpublic Map<String,String> getProperties()
getProperties in interface org.apache.ambari.view.events.Eventpublic org.apache.ambari.view.ViewDefinition getViewSubject()
getViewSubject in interface org.apache.ambari.view.events.Eventpublic org.apache.ambari.view.ViewInstanceDefinition getViewInstanceSubject()
getViewInstanceSubject in interface org.apache.ambari.view.events.EventCopyright © 2022 Apache Software Foundation. All rights reserved.