Package nl.vpro.domain.media.update
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranscodeRequest.Builder
static class
TranscodeRequest.Priority
-
Nested classes/interfaces inherited from interface nl.vpro.domain.media.MediaIdentifiable
MediaIdentifiable.Correlation
-
-
Constructor Summary
Constructors Constructor Description TranscodeRequest()
TranscodeRequest(@NotNull String mid, @NotNull String fileName, @NotNull Encryption encryption, @NotNull TranscodeRequest.Priority priority)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull TranscodeRequest.Builder
builder()
protected boolean
canEqual(@Nullable Object other)
boolean
equals(@Nullable Object o)
List<String>
getCrids()
@NotNull Encryption
getEncryption()
@NotNull String
getFileName()
File name.MediaType
getMediaType()
@NotNull String
getMid()
@NotNull TranscodeRequest.Priority
getPriority()
int
hashCode()
void
setEncryption(@NotNull Encryption encryption)
void
setFileName(@NotNull String fileName)
File name.void
setMid(@NotNull String mid)
void
setPriority(@NotNull TranscodeRequest.Priority priority)
@NonNull String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface nl.vpro.domain.media.MediaIdentifiable
getCorrelation, getCorrelationId, getId, getMainIdentifier
-
-
-
-
Constructor Detail
-
TranscodeRequest
public TranscodeRequest()
-
TranscodeRequest
public TranscodeRequest(@NotNull @NotNull String mid, @NotNull @NotNull String fileName, @NotNull @NotNull Encryption encryption, @NotNull @NotNull TranscodeRequest.Priority priority)
-
-
Method Detail
-
getMediaType
public MediaType getMediaType()
- Specified by:
getMediaType
in interfaceMidIdentifiable
-
getCrids
public List<String> getCrids()
- Specified by:
getCrids
in interfaceMediaIdentifiable
-
builder
public static @NonNull TranscodeRequest.Builder builder()
-
getMid
@NotNull public @NotNull String getMid()
- Specified by:
getMid
in interfaceMidIdentifiable
-
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)
-
canEqual
protected boolean canEqual(@Nullable Object other)
-
-