本文整理了Java中org.kie.api.task.model.Task.getTaskType()
方法的一些代码示例,展示了Task.getTaskType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Task.getTaskType()
方法的具体详情如下:
包路径:org.kie.api.task.model.Task
类名称:Task
方法名:getTaskType
暂无
代码示例来源:origin: kiegroup/jbpm
when(taskInstance.getSubject()).thenReturn("empty");
when(taskInstance.getPriority()).thenReturn(5);
when(taskInstance.getTaskType()).thenReturn("");
when(taskInstance.getTaskData()).thenReturn(taskData);
代码示例来源:origin: kiegroup/jbpm
this.status = source.getTaskData().getStatus().name();
this.subject = source.getSubject();
this.taskType = source.getTaskType();
this.workItemId = source.getTaskData().getWorkItemId();
代码示例来源:origin: kiegroup/jbpm
public void initialize(Task task) {
if( task == null ) {
return;
}
this.id = task.getId();
this.priority = task.getPriority();
this.version = task.getVersion();
this.archived = task.isArchived();
this.subTasksStrategy = ((InternalTask) task).getSubTaskStrategy();
this.peopleAssignments = new JaxbPeopleAssignments(task.getPeopleAssignments());
this.names = convertListFromInterfaceToJaxbImpl(task.getNames(), I18NText.class, JaxbI18NText.class);
this.name = ((InternalTask)task).getName();
this.subjects = convertListFromInterfaceToJaxbImpl(task.getSubjects(), I18NText.class, JaxbI18NText.class);
this.subject = ((InternalTask)task).getSubject();
this.descriptions = convertListFromInterfaceToJaxbImpl(task.getDescriptions(), I18NText.class, JaxbI18NText.class);
this.description = ((InternalTask)task).getDescription();
this.taskType = task.getTaskType();
this.formName = ((InternalTask)task).getFormName();
this.taskData = new JaxbTaskData(task.getTaskData());
}
代码示例来源:origin: org.jbpm/jbpm-persistence-api
this.status = source.getTaskData().getStatus().name();
this.subject = source.getSubject();
this.taskType = source.getTaskType();
this.workItemId = source.getTaskData().getWorkItemId();
代码示例来源:origin: org.kie.remote/kie-remote-client
genTask.getSubjects().addAll(genTextList);
genTask.setTaskType(task.getTaskType());
TaskData kieTaskData = task.getTaskData();
genTask.setTaskData(convertKieTaskDataToGenTaskData(kieTaskData));
代码示例来源:origin: org.kie.server/kie-server-services-jbpm
.description(task.getDescription())
.priority(task.getPriority())
.taskType(task.getTaskType())
.formName(((InternalTask) task).getFormName())
.status(task.getTaskData().getStatus().name())
内容来源于网络,如有侵权,请联系作者删除!