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.

ParameterDescription
sthe event's description

addProperty(String name, String desc)

Returns: RepoAppEventDefBuilder

Declares a property this event carries.

ParameterDescription
namethe property name
descdescription of the property

build()

Returns: RepoAppEventDef

Builds the event definition and registers it in the app's list of event definitions.

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