activity.setActivityBehavior(new IntermediateThrowNoneEventActivityBehavior());
}
} else if (signalEventDefinition != null) {
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());
}