Package nl.vpro.domain.media.update
Class PredictionUpdate
java.lang.Object
nl.vpro.domain.media.update.PredictionUpdate
- All Implemented Interfaces:
Comparable<PredictionUpdate>
- Since:
- 5.6
- Author:
- Michiel Meeuwissen
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Encryption
protected @NotNull Platform
protected Instant
protected Instant
-
Constructor Summary
ConstructorDescriptionPredictionUpdate
(Instant publishStart, Instant publishStop, @NotNull Platform platform, Encryption encryption) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull PredictionUpdate.Builder
builder()
protected boolean
int
boolean
@NotNull Platform
int
hashCode()
static PredictionUpdate
of
(Prediction prediction) void
setEncryption
(Encryption encryption) void
setPlatform
(@NotNull Platform platform) void
setPublishStart
(Instant publishStart) void
setPublishStop
(Instant publishStop) toPrediction
(Prediction prediction) @NonNull String
toString()
-
Field Details
-
publishStart
-
publishStop
-
platform
-
encryption
-
-
Constructor Details
-
PredictionUpdate
public PredictionUpdate() -
PredictionUpdate
public PredictionUpdate(Instant publishStart, Instant publishStop, @NotNull @NotNull Platform platform, Encryption encryption)
-
-
Method Details
-
of
-
toPrediction
-
toPrediction
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PredictionUpdate>
-
builder
-
getPublishStart
-
getPublishStop
-
getPlatform
-
getEncryption
-
setPublishStart
-
setPublishStop
-
setPlatform
-
setEncryption
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-