Enum Work.Status

    • Enum Constant Detail

      • CREATED

        public static final Work.Status CREATED
        The Work instance has been created, but has not started processing yet
      • WAITING

        public static final Work.Status WAITING
        The Work instance is waiting in the pending work queue
      • RUNNING

        public static final Work.Status RUNNING
        The Work instance is actively being processed
      • RETRYING

        public static final Work.Status RETRYING
        There is a pending retry attempt for the Work instance
      • REDIRECTING

        public static final Work.Status REDIRECTING
        There is a pending redirect attempt for the Work instance
      • CANCELLED

        public static final Work.Status CANCELLED
        The Work instance has been cancelled
      • COMPLETED

        public static final Work.Status COMPLETED
        The Work instance has finished without being cancelled
    • Method Detail

      • values

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

        public static Work.Status valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null