类 SimpleFlowCreateTimeHandler

java.lang.Object
net.sohelp.boot.engine.workflow.handler.impl.SimpleFlowCreateTimeHandler
所有已实现的接口:
FlowCreateTimeHandler

public class SimpleFlowCreateTimeHandler extends Object implements FlowCreateTimeHandler
默认流程创建时间处理器
从以下版本开始:
1.0
  • 构造器详细资料

    • SimpleFlowCreateTimeHandler

      public SimpleFlowCreateTimeHandler()
  • 方法详细资料

    • getCurrentTime

      public Date getCurrentTime(ExecuteType executeType, Long instanceId, Long taskId)
      从接口复制的说明: FlowCreateTimeHandler
      获取当前时间,用于设置创建时间或更新时间
      指定者:
      getCurrentTime 在接口中 FlowCreateTimeHandler
      参数:
      executeType - 工作流执行类型 ExecuteType
      instanceId - 流程实例ID
      taskId - 审批任务ID(不存在为流程实例调用情况)
    • getFinishTime

      public Date getFinishTime(Long instanceId, Long taskId)
      从接口复制的说明: FlowCreateTimeHandler
      获取完成时间,用于设置流程实例结束时间或任务完成时间
      指定者:
      getFinishTime 在接口中 FlowCreateTimeHandler
      参数:
      instanceId - 流程实例ID
      taskId - 审批任务ID(不存在为流程实例调用情况)