Enum JobIntent

    • Enum Constant Detail

      • CREATED

        public static final JobIntent CREATED
      • COMPLETE

        public static final JobIntent COMPLETE
      • COMPLETED

        public static final JobIntent COMPLETED
      • TIME_OUT

        public static final JobIntent TIME_OUT
      • TIMED_OUT

        public static final JobIntent TIMED_OUT
      • FAILED

        public static final JobIntent FAILED
      • UPDATE_RETRIES

        public static final JobIntent UPDATE_RETRIES
      • RETRIES_UPDATED

        public static final JobIntent RETRIES_UPDATED
      • CANCEL

        public static final JobIntent CANCEL
      • CANCELED

        public static final JobIntent CANCELED
      • THROW_ERROR

        public static final JobIntent THROW_ERROR
      • ERROR_THROWN

        public static final JobIntent ERROR_THROWN
    • Method Detail

      • values

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

        public static JobIntent 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
      • getIntent

        public short getIntent()
      • from

        public static Intent from​(short value)
      • value

        public short value()
        Specified by:
        value in interface Intent