org.apache.ambari.view.events
Interface Event


public interface Event

View event interface.


Method Summary
 String getId()
          Get the event identifier.
 Map<String,String> getProperties()
          Get the event properties.
 ViewInstanceDefinition getViewInstanceSubject()
          Get the instance subject of the event.
 ViewDefinition getViewSubject()
          Get the view subject of the event.
 

Method Detail

getId

String getId()
Get the event identifier.

Returns:
the id

getProperties

Map<String,String> getProperties()
Get the event properties.

Returns:
the properties

getViewSubject

ViewDefinition getViewSubject()
Get the view subject of the event.

Returns:
the view subject

getViewInstanceSubject

ViewInstanceDefinition getViewInstanceSubject()
Get the instance subject of the event.

Returns:
the instance subject; null if this is a view level event


Copyright © 2015 Apache Software Foundation. All rights reserved.