Uses of Enum Class
org.sterl.spring.persistent_tasks.api.TriggerStatus
Packages that use TriggerStatus
Package
Description
-
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.api
Fields in org.sterl.spring.persistent_tasks.api with type parameters of type TriggerStatusModifier and TypeFieldDescriptionstatic final Set
<TriggerStatus> TriggerStatus.ACTIVE_STATES
static final Set
<TriggerStatus> TriggerStatus.END_STATES
Methods in org.sterl.spring.persistent_tasks.api that return TriggerStatusModifier and TypeMethodDescriptionTaskStatusHistoryOverview.status()
Returns the value of thestatus
record component.TriggerRequest.status()
Returns the value of thestatus
record component.static TriggerStatus
Returns the enum constant of this class with the specified name.static TriggerStatus[]
TriggerStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.sterl.spring.persistent_tasks.api with parameters of type TriggerStatusModifier and TypeMethodDescriptionstatic TriggerSearch
TriggerSearch.byStatus
(TriggerStatus status) Constructors in org.sterl.spring.persistent_tasks.api with parameters of type TriggerStatusModifierConstructorDescriptionTaskStatusHistoryOverview
(String taskName, TriggerStatus status, Long executionCount, OffsetDateTime firstRun, OffsetDateTime lastRun, Number maxDurationMs, Number minDurationMs, Number avgDurationMs, Number avgExecutionCount) Creates an instance of aTaskStatusHistoryOverview
record class.TriggerRequest
(TriggerKey key, TriggerStatus status, T state, OffsetDateTime runtAt, int priority, String correlationId, String tag) Creates an instance of aTriggerRequest
record class. -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.history
Methods in org.sterl.spring.persistent_tasks.history with parameters of type TriggerStatusModifier and TypeMethodDescriptionlong
HistoryService.countTriggers
(TriggerStatus status) Counts the unique triggers in the history. -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.test
Methods in org.sterl.spring.persistent_tasks.test with parameters of type TriggerStatusModifier and TypeMethodDescriptionvoid
PersistentTaskTestService.assertHasNextTask
(TriggerStatus status, TriggerKey key) Runs the next trigger and ensures where is one. -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.trigger
Methods in org.sterl.spring.persistent_tasks.trigger with parameters of type TriggerStatus -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.trigger.component
Methods in org.sterl.spring.persistent_tasks.trigger.component with parameters of type TriggerStatus -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.trigger.model
Methods in org.sterl.spring.persistent_tasks.trigger.model with parameters of type TriggerStatusModifier and TypeMethodDescriptionvoid
RunningTriggerEntity.finishTriggerWithStatus
(TriggerStatus status, Exception e) -
Uses of TriggerStatus in org.sterl.spring.persistent_tasks.trigger.repository
Methods in org.sterl.spring.persistent_tasks.trigger.repository with parameters of type TriggerStatusModifier and TypeMethodDescriptionRunningTriggerRepository.findByStatusAndRunAtAfter
(TriggerStatus status, OffsetDateTime runAt, org.springframework.data.domain.Pageable page) RunningTriggerRepository.loadNextTasks
(OffsetDateTime runAt, TriggerStatus status, org.springframework.data.domain.Pageable page) int
RunningTriggerRepository.markTriggersAsRunning
(Collection<TriggerKey> keys, String runningOn, OffsetDateTime lastPing, TriggerStatus status)