use of io.automatiko.engine.workflow.base.core.impl.WorkImpl in project automatiko-engine by automatiko-io.
the class HumanTaskNodeFactory method content.
public HumanTaskNodeFactory content(String content) {
Work work = getHumanTaskNode().getWork();
if (work == null) {
work = new WorkImpl();
getHumanTaskNode().setWork(work);
}
work.setParameter(WORK_CONTENT, content);
return this;
}
use of io.automatiko.engine.workflow.base.core.impl.WorkImpl in project automatiko-engine by automatiko-io.
the class HumanTaskNodeFactory method groupId.
public HumanTaskNodeFactory groupId(String groupId) {
Work work = getHumanTaskNode().getWork();
if (work == null) {
work = new WorkImpl();
getHumanTaskNode().setWork(work);
}
work.setParameter(WORK_GROUP_ID, groupId);
return this;
}
Aggregations