Class TranscodeRequest

java.lang.Object
nl.vpro.domain.media.update.TranscodeRequest
All Implemented Interfaces:
Identifiable<Long>, MediaIdentifiable, MidIdentifiable

public class TranscodeRequest extends Object implements MediaIdentifiable
Since:
5.6
Author:
Michiel Meeuwissen
  • Constructor Details

    • TranscodeRequest

      public TranscodeRequest()
    • TranscodeRequest

      public TranscodeRequest(@NotNull @NotNull String mid, @NotNull @NotNull String fileName, @NotNull @NotNull Encryption encryption, @NotNull @NotNull TranscodeRequest.Priority priority)
  • Method Details

    • getMediaType

      public MediaType getMediaType()
      Specified by:
      getMediaType in interface MidIdentifiable
    • getCrids

      public List<String> getCrids()
      Specified by:
      getCrids in interface MediaIdentifiable
    • builder

      public static @NonNull TranscodeRequest.Builder builder()
    • getMid

      @NotNull public @NotNull String getMid()
      Specified by:
      getMid in interface MidIdentifiable
    • getFileName

      @NotNull public @NotNull String getFileName()
      File name. If starts with /, then it is prefixed by your ftp account name. Otherwise the ftp account of POMS itself will be implicetely prefixed.
    • getEncryption

      @NotNull public @NotNull Encryption getEncryption()
    • getPriority

      @NotNull public @NotNull TranscodeRequest.Priority getPriority()
    • setMid

      public void setMid(@NotNull @NotNull String mid)
    • setFileName

      public void setFileName(@NotNull @NotNull String fileName)
      File name. If starts with /, then it is prefixed by your ftp account name. Otherwise the ftp account of POMS itself will be implicetely prefixed.
    • setEncryption

      public void setEncryption(@NotNull @NotNull Encryption encryption)
    • setPriority

      public void setPriority(@NotNull @NotNull TranscodeRequest.Priority priority)
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object