Skip to content

Commit

Permalink
add missing javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jun 20, 2024
1 parent 18e4f94 commit 84f1e93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/io/wcm/handler/media/MediaArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -919,14 +919,23 @@ public MediaFormatOption(@NotNull String mediaFormatName, boolean mandatory) {
this.mandatory = mandatory;
}

/**
* @return Media format
*/
public @Nullable MediaFormat getMediaFormat() {
return this.mediaFormat;
}

/**
* @return Media format name
*/
public @Nullable String getMediaFormatName() {
return this.mediaFormatName;
}

/**
* @return Resolution of this media format is mandatory
*/
public boolean isMandatory() {
return this.mandatory;
}
Expand Down

0 comments on commit 84f1e93

Please sign in to comment.