return new AddUserTaskFeature(this);
}
} else if (context.getNewObject() instanceof ManualTask) {
return new AddManualTaskFeature(this);
} else if (context.getNewObject() instanceof ReceiveTask) {
return new AddReceiveTaskFeature(this);
} else if (context.getNewObject() instanceof BusinessRuleTask) {
return new AddBusinessRuleTaskFeature(this);
} else if (context.getNewObject() instanceof ServiceTask) {
ServiceTask serviceTask = (ServiceTask) context.getNewObject();
if (ServiceTask.MAIL_TASK.equalsIgnoreCase(serviceTask.getType())) {