A definition of an event type for a repository app, declared with newEventDefinitionBuilder and raised with triggerEvent. Listeners registered elsewhere via addEventListener or addEventListenerForType with a matching id can react to it.


Properties

PropertyReturnsDescription
descriptionStringUser-friendly description of what this event is for, shown to app developers.
idStringUnique id of this event, matched against the id passed to triggerEvent and used by listeners to identify the event.
propertiesMap<String,String>Names and descriptions of the properties this event carries, keyed by property name.

Methods

getDescription()

Returns: String

User-friendly description of what this event is for, shown to app developers.

getId()

Returns: String

Unique id of this event, matched against the id passed to triggerEvent and used by listeners to identify the event.

getProperties()

Returns: Map<String,String>

Names and descriptions of the properties this event carries, keyed by property name.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.