Class ContestDTOFactory
java.lang.Object
info.ejava.examples.svc.springdoc.contests.dto.ContestDTOFactory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]
private final net.datafaker.Faker
private static AtomicInteger
static UnaryOperator
<ContestDTO> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
duration()
make()
make
(UnaryOperator<ContestDTO>... visitors) int
score()
team()
-
Field Details
-
nextId
-
faker
private final net.datafaker.Faker faker -
DURATIONS
private static final int[] DURATIONS -
oneUpId
-
-
Constructor Details
-
ContestDTOFactory
public ContestDTOFactory()
-
-
Method Details
-
score
public int score() -
team
-
completed
public boolean completed() -
duration
-
scheduledStart
-
make
-
make
-
listBuilder
-