We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4355e17 commit ee760aaCopy full SHA for ee760aa
src/main/java/io/eigr/spawn/api/InvocationOpts.java
@@ -15,11 +15,14 @@
15
@NoArgsConstructor
16
public class InvocationOpts {
17
18
- private boolean async;
+ @Builder.Default
19
+ private boolean async = false;
20
- private Optional<Long> delay;
21
22
+ private Optional<Long> delay = Optional.empty();
23
- private Optional<LocalDateTime> scheduledTo;
24
25
+ private Optional<LocalDateTime> scheduledTo = Optional.empty();
26
27
public long getScheduleTimeInLong() {
28
if (scheduledTo.isPresent()) {
0 commit comments