To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Fluent builder for declaring a repository app event, reached from ControllerMappingList.newEventDefinitionBuilder. Set the event's description and properties then call build to register the event definition so it can be raised with triggerEvent.
Group: Builders
Methods
description(String s)
Returns: RepoAppEventDefBuilder
Sets the user-friendly description shown for this event.
| Parameter | Description |
|---|---|
s | the event's description |
addProperty(String name, String desc)
Returns: RepoAppEventDefBuilder
Declares a property this event carries.
| Parameter | Description |
|---|---|
name | the property name |
desc | description of the property |
build()
Returns: RepoAppEventDef
Builds the event definition and registers it in the app's list of event definitions.