Class MediaArgs.WidthOption

  • Enclosing class:
    MediaArgs

    @ProviderType
    public static final class MediaArgs.WidthOption
    extends java.lang.Object
    Width value with mandatory flag.
    • Constructor Summary

      Constructors 
      Constructor Description
      WidthOption​(long width, boolean mandatory)  
    • Constructor Detail

      • WidthOption

        public WidthOption​(long width,
                           boolean mandatory)
        Parameters:
        width - Width value
        mandatory - Is it mandatory to resolve a rendition with this width
    • Method Detail

      • getWidth

        public long getWidth()
        Returns:
        Width value
      • isMandatory

        public boolean isMandatory()
        Returns:
        Is it mandatory to resolve a rendition with this width
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object