java.lang.Object
net.sohelp.boot.engine.workflow.entity.FlowEntity
net.sohelp.boot.engine.workflow.entity.FlwTask
所有已实现的接口:
Serializable
直接已知子类:
FlwHisTask

@TableName("pb_flw_task") public class FlwTask extends FlowEntity
任务实体类
从以下版本开始:
1.0
另请参阅:
  • 字段详细资料

    • instanceId

      protected Long instanceId
      流程实例ID
    • parentTaskId

      protected Long parentTaskId
      父任务ID
    • taskName

      protected String taskName
      任务名称
    • taskKey

      protected String taskKey
      任务 key 唯一标识
    • taskType

      protected Integer taskType
      任务类型 TaskType
    • performType

      protected Integer performType
      参与方式 PerformType
    • actionUrl

      protected String actionUrl
      任务关联的表单url
    • variable

      protected String variable
      变量json
    • assignorId

      protected String assignorId
      委托人ID
    • assignor

      protected String assignor
      委托人
    • expireTime

      protected Date expireTime
      期望任务完成时间
    • remindTime

      protected Date remindTime
      提醒时间,存在定时器触发提醒,不存在任务创建监听的时候默认提醒一次
    • remindRepeat

      protected Integer remindRepeat
      提醒次数
    • viewed

      protected Integer viewed
      已阅 0,否 1,是
  • 构造器详细资料

    • FlwTask

      public FlwTask()
  • 方法详细资料

    • major

      public boolean major()
    • variableMap

      public Map<String,Object> variableMap()
    • taskType

      public FlwTask taskType(TaskType taskType)
    • setTaskType

      public void setTaskType(Integer taskType)
    • performType

      public void performType(PerformType performType)
    • setPerformType

      public void setPerformType(Integer performType)
    • putAllVariable

      public FlwTask putAllVariable(Map<String,Object> args)
    • loadExpireTime

      public void loadExpireTime(Map<String,Object> extendConfig, boolean checkEmpty)
      从扩展配置中加载期望任务完成时间
      参数:
      extendConfig - 扩展配置
      checkEmpty - 检查是否为空
    • startNode

      public boolean startNode()
      开始节点判断
      返回:
      true 是 false 非
    • cloneTask

      public FlwTask cloneTask(FlowIdGenerator flowLongIdGenerator, FlwHisTaskActor hta)
    • cloneTask

      public FlwTask cloneTask(FlowIdGenerator flowLongIdGenerator, String createId, String createBy)