use of io.automatiko.engine.workflow.base.core.Work in project automatiko-engine by automatiko-io.
the class HumanTaskNodeFactory method comment.
public HumanTaskNodeFactory comment(String comment) {
Work work = getHumanTaskNode().getWork();
if (work == null) {
work = new WorkImpl();
getHumanTaskNode().setWork(work);
}
work.setParameter(WORK_COMMENT, comment);
return this;
}
use of io.automatiko.engine.workflow.base.core.Work in project automatiko-engine by automatiko-io.
the class HumanTaskNodeFactory method taskName.
public HumanTaskNodeFactory taskName(String taskName) {
Work work = getHumanTaskNode().getWork();
if (work == null) {
work = new WorkImpl();
getHumanTaskNode().setWork(work);
}
work.setParameter(WORK_TASK_NAME, taskName);
return this;
}
use of io.automatiko.engine.workflow.base.core.Work in project automatiko-engine by automatiko-io.
the class HumanTaskNodeFactory method actorId.
public HumanTaskNodeFactory actorId(String actorId) {
Work work = getHumanTaskNode().getWork();
if (work == null) {
work = new WorkImpl();
getHumanTaskNode().setWork(work);
}
work.setParameter(WORK_ACTOR_ID, actorId);
return this;
}
use of io.automatiko.engine.workflow.base.core.Work 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.Work 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