Enum MediaInvalidReason

    • Enum Constant Detail

      • MEDIA_REFERENCE_MISSING

        public static final MediaInvalidReason MEDIA_REFERENCE_MISSING
        The media request was empty.
      • MEDIA_REFERENCE_INVALID

        public static final MediaInvalidReason MEDIA_REFERENCE_INVALID
        Media item not found: that means the media request path is invalid or the user has no read access.
      • NO_MATCHING_RENDITION

        public static final MediaInvalidReason NO_MATCHING_RENDITION
        No matching rendition: The media item exists, but no rendition matches for the requested media args.
      • NOT_ENOUGH_MATCHING_RENDITIONS

        public static final MediaInvalidReason NOT_ENOUGH_MATCHING_RENDITIONS
        Not enough matching renditions: The media item exists and some renditions could be resolved, but not for all mandatory media formats requested.
      • NO_MEDIA_SOURCE

        @Deprecated
        public static final MediaInvalidReason NO_MEDIA_SOURCE
        Deprecated.
        No longer in use, first media source defined is used as fallback if no match is found.
        No media source found for handling the given (or empty) media request
      • INVALID_MEDIA_FORMAT

        public static final MediaInvalidReason INVALID_MEDIA_FORMAT
        One or all of the given media format names are invalid.
    • Method Detail

      • values

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

        public static MediaInvalidReason 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