public class FlwTask extends FlowEntity
限定符和类型 | 字段和说明 |
---|---|
protected String |
actionUrl
任务关联的表单url
|
protected String |
assignor
委托人
|
protected String |
assignorId
委托人ID
|
protected Date |
expireTime
期望任务完成时间
|
protected Long |
instanceId
流程实例ID
|
protected Long |
parentTaskId
父任务ID
|
protected Integer |
performType
参与方式
PerformType |
protected Integer |
remindRepeat
提醒次数
|
protected Date |
remindTime
提醒时间
|
protected String |
taskKey
任务 key 唯一标识
|
protected String |
taskName
任务名称
|
protected Integer |
taskType
任务类型
TaskType |
protected String |
variable
变量json
|
protected Integer |
viewed
已阅 0,否 1,是
|
createBy, createId, createTime, id, tenantId
构造器和说明 |
---|
FlwTask() |
限定符和类型 | 方法和说明 |
---|---|
FlwTask |
cloneTask(FlwHisTaskActor flwHisTaskActor) |
FlwTask |
cloneTask(String createId,
String createBy) |
void |
loadExpireTime(Map<String,Object> extendConfig,
boolean checkEmpty)
从扩展配置中加载期望任务完成时间
|
boolean |
major() |
void |
setPerformType(Integer performType) |
void |
setPerformType(PerformType performType) |
void |
setTaskType(Integer taskType) |
void |
setVariable(Map<String,Object> args) |
void |
setVariable(String variable) |
boolean |
startNode()
开始节点判断
|
void |
taskType(TaskType taskType) |
Map<String,Object> |
variableMap() |
setFlowCreator
protected Long instanceId
protected Long parentTaskId
protected String taskName
protected String taskKey
protected Integer performType
PerformType
protected String actionUrl
protected String variable
protected String assignorId
protected String assignor
protected Date expireTime
protected Date remindTime
protected Integer remindRepeat
protected Integer viewed
public boolean major()
public void setVariable(String variable)
public void taskType(TaskType taskType)
public void setTaskType(Integer taskType)
public void setPerformType(PerformType performType)
public void setPerformType(Integer performType)
public void loadExpireTime(Map<String,Object> extendConfig, boolean checkEmpty)
extendConfig
- 扩展配置checkEmpty
- 检查是否为空public boolean startNode()
public FlwTask cloneTask(FlwHisTaskActor flwHisTaskActor)
Copyright © 2025. All rights reserved.