use of org.kie.workbench.common.stunner.bpmn.definition.property.notification.NotificationValue in project kie-wb-common by kiegroup.
the class NotificationRow method toNotificationValue.
public NotificationValue toNotificationValue() {
NotificationValue value = new NotificationValue();
value.setType(getType().getAlias());
value.setExpiresAt(getExpiresAt());
value.setGroups(new ArrayList<>(getGroups()));
value.setUsers(new ArrayList<>(getUsers()));
value.setEmails(getEmails());
value.setBody(getBody());
value.setSubject(getSubject());
value.setFrom(getFrom());
value.setReplyTo(getReplyTo());
return value;
}
Aggregations