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.Object
Width 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 boolean
equals(java.lang.Object obj)
long
getWidth()
int
hashCode()
boolean
isMandatory()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-