Enum TaskState

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

    public enum TaskState
    extends java.lang.Enum<TaskState>
    流程任务状态

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

    Since:
    1.0
    Author:
    江涛
    • Enum Constant Detail

      • active

        public static final TaskState active
        活动
      • jump

        public static final TaskState jump
        跳转
      • complete

        public static final TaskState complete
        完成
      • reject

        public static final TaskState reject
        拒绝
      • revoke

        public static final TaskState revoke
        撤销审批
      • timeout

        public static final TaskState timeout
        超时
      • terminate

        public static final TaskState terminate
        终止
      • rejectEnd

        public static final TaskState rejectEnd
        驳回终止
      • autoComplete

        public static final TaskState autoComplete
        自动完成
      • autoReject

        public static final TaskState autoReject
        自动驳回
      • autoJump

        public static final TaskState autoJump
        自动跳转
      • rejectJump

        public static final TaskState rejectJump
        驳回跳转
      • reApproveJump

        public static final TaskState reApproveJump
        驳回重新审批跳转
      • routeJump

        public static final TaskState routeJump
        路由跳转
    • Method Detail

      • values

        public static TaskState[] 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 (TaskState c : TaskState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaskState 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 TaskState get​(int value)
      • allowedCheck

        public static boolean allowedCheck​(TaskState taskState)