public B signal ( String signalName ) { SignalEventDefinition signalEventDefinition = createSignalEventDefinition ( signalName ) ; element . getEventDefinitions ( ) . add ( signalEventDefinition ) ; return myself ; }
Sets an event definition for the given signal name . If already a signal with this name exists it will be used otherwise a new signal is created .