Enum TaskType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TaskType>

    public enum TaskType
    extends java.lang.Enum<TaskType>
    流程任务类型

    官网尊重知识产权,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Enum Constant Detail

      • end

        public static final TaskType end
        结束节点
      • major

        public static final TaskType major
        主办
      • approval

        public static final TaskType approval
        审批
      • cc

        public static final TaskType cc
        抄送
      • conditionNode

        public static final TaskType conditionNode
        条件审批
      • conditionBranch

        public static final TaskType conditionBranch
        条件分支
      • callProcess

        public static final TaskType callProcess
        调用外部流程任务【办理子流程】
      • timer

        public static final TaskType timer
        定时器任务
      • trigger

        public static final TaskType trigger
        触发器任务
      • parallelBranch

        public static final TaskType parallelBranch
        并行分支
      • inclusiveBranch

        public static final TaskType inclusiveBranch
        包容分支
      • transfer

        public static final TaskType transfer
        转办、代理人办理完任务直接进入下一个节点
      • delegate

        public static final TaskType delegate
        委派、代理人办理完任务该任务重新归还给原处理人
      • delegateReturn

        public static final TaskType delegateReturn
        委派归还任务
      • agent

        public static final TaskType agent
        代理人任务
      • agentReturn

        public static final TaskType agentReturn
        代理人归还的任务
      • agentAssist

        public static final TaskType agentAssist
        代理人协办完成的任务
      • agentOwn

        public static final TaskType agentOwn
        被代理人自己完成任务
      • reclaim

        public static final TaskType reclaim
        拿回任务
      • withdraw

        public static final TaskType withdraw
        待撤回历史任务
      • reject

        public static final TaskType reject
        拒绝任务
      • jump

        public static final TaskType jump
        跳转任务,从上个任务 FlwTask#getParentTaskId() 跳转过来的
      • rejectJump

        public static final TaskType rejectJump
        驳回跳转
      • routeJump

        public static final TaskType routeJump
        路由跳转
      • routeBranch

        public static final TaskType routeBranch
        路由分支
      • reApproveJump

        public static final TaskType reApproveJump
        驳回重新审批跳转
      • saveAsDraft

        public static final TaskType saveAsDraft
        暂存待审
      • autoPass

        public static final TaskType autoPass
        自动通过
      • autoReject

        public static final TaskType autoReject
        自动拒绝
    • Method Detail

      • values

        public static TaskType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TaskType c : TaskType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaskType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • ne

        public boolean ne​(java.lang.Integer value)
      • eq

        public boolean eq​(java.lang.Integer value)
      • get

        public static TaskType get​(int value)