Class ExecutionComplete
java.lang.Object
com.github.kagkarlsson.scheduler.task.ExecutionComplete
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionCompletegetCause()static ExecutionCompletesimulatedSuccess(Instant timeDone) Simulated ExecutionComplete used to generate first execution-time from a Schedule.static ExecutionComplete
-
Method Details
-
success
-
failure
public static ExecutionComplete failure(Execution execution, Instant timeStarted, Instant timeDone, Throwable cause) -
simulatedSuccess
Simulated ExecutionComplete used to generate first execution-time from a Schedule. -
getExecution
-
getTimeDone
-
getDuration
-
getResult
-
getCause
-