activity.setProperty("type", "signalEndEvent");
EventSubscriptionDeclaration signalDefinition = parseSignalEventDefinition(signalEventDefinition);
activity.setActivityBehavior(new SignalEndEventActivityBehavior(signalDefinition));
} else { // default: none end event
activity.setProperty("type", "noneEndEvent");
activity.setActivityBehavior(new NoneEndEventActivityBehavior());
}
if(activity != null) {
parseActivityInputOutput(endEventElement, activity);
}