Package io.wcm.handler.media
Class MediaArgs.WidthOption
- java.lang.Object
-
- io.wcm.handler.media.MediaArgs.WidthOption
-
- Enclosing class:
- MediaArgs
@ProviderType public static final class MediaArgs.WidthOption extends java.lang.ObjectWidth value with mandatory flag.
-
-
Constructor Summary
Constructors Constructor Description WidthOption(long width, boolean mandatory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetWidth()inthashCode()booleanisMandatory()java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-