Enum MediaJobErrorCode

    • Enum Constant Detail

      • SERVICE_ERROR

        public static final MediaJobErrorCode SERVICE_ERROR
        Enum value ServiceError.
      • SERVICE_TRANSIENT_ERROR

        public static final MediaJobErrorCode SERVICE_TRANSIENT_ERROR
        Enum value ServiceTransientError.
      • DOWNLOAD_NOT_ACCESSIBLE

        public static final MediaJobErrorCode DOWNLOAD_NOT_ACCESSIBLE
        Enum value DownloadNotAccessible.
      • DOWNLOAD_TRANSIENT_ERROR

        public static final MediaJobErrorCode DOWNLOAD_TRANSIENT_ERROR
        Enum value DownloadTransientError.
      • UPLOAD_NOT_ACCESSIBLE

        public static final MediaJobErrorCode UPLOAD_NOT_ACCESSIBLE
        Enum value UploadNotAccessible.
      • UPLOAD_TRANSIENT_ERROR

        public static final MediaJobErrorCode UPLOAD_TRANSIENT_ERROR
        Enum value UploadTransientError.
      • CONFIGURATION_UNSUPPORTED

        public static final MediaJobErrorCode CONFIGURATION_UNSUPPORTED
        Enum value ConfigurationUnsupported.
      • CONTENT_MALFORMED

        public static final MediaJobErrorCode CONTENT_MALFORMED
        Enum value ContentMalformed.
      • CONTENT_UNSUPPORTED

        public static final MediaJobErrorCode CONTENT_UNSUPPORTED
        Enum value ContentUnsupported.
      • IDENTITY_UNSUPPORTED

        public static final MediaJobErrorCode IDENTITY_UNSUPPORTED
        Enum value IdentityUnsupported.
    • Method Detail

      • values

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

        public static MediaJobErrorCode 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
      • fromString

        public static MediaJobErrorCode fromString​(String value)
        Parses a serialized value to a MediaJobErrorCode instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed MediaJobErrorCode object, or null if unable to parse.