Package io.wcm.handler.media
Class MediaArgs.MediaFormatOption
- java.lang.Object
-
- io.wcm.handler.media.MediaArgs.MediaFormatOption
-
-
Constructor Summary
Constructors Constructor Description MediaFormatOption(@NotNull String mediaFormatName, boolean mandatory)MediaFormatOption(@Nullable MediaFormat mediaFormat, boolean mandatory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)@Nullable MediaFormatgetMediaFormat()@Nullable StringgetMediaFormatName()inthashCode()booleanisMandatory()StringtoString()
-
-
-
Constructor Detail
-
MediaFormatOption
public MediaFormatOption(@Nullable @Nullable MediaFormat mediaFormat, boolean mandatory)- Parameters:
mediaFormat- Media formatmandatory- Resolution of this media format is mandatory
-
MediaFormatOption
public MediaFormatOption(@NotNull @NotNull String mediaFormatName, boolean mandatory)- Parameters:
mediaFormatName- Media format namemandatory- Resolution of this media format is mandatory
-
-
Method Detail
-
getMediaFormat
@Nullable public @Nullable MediaFormat getMediaFormat()
-
getMediaFormatName
@Nullable public @Nullable String getMediaFormatName()
-
isMandatory
public boolean isMandatory()
-
-