Class TriggerSearch
java.lang.Object
org.sterl.spring.persistent_tasks.api.TriggerSearch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.data.domain.Sort
create time ASC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.domain.Pageable
applyDefaultSortIfNeeded
(org.springframework.data.domain.Pageable page) static TriggerSearch
byCorrelationId
(String correlationId) static TriggerSearch
byStatus
(TriggerStatus status) static TriggerSearch
forTriggerRequest
(TriggerRequest<?> trigger) boolean
hasValue()
static org.springframework.data.domain.Sort
sortByCreatedTime
(org.springframework.data.domain.Sort.Direction direction)
-
Field Details
-
DEFAULT_SORT
public static final org.springframework.data.domain.Sort DEFAULT_SORTcreate time ASC
-
-
Constructor Details
-
TriggerSearch
public TriggerSearch()
-
-
Method Details
-
hasValue
public boolean hasValue() -
byCorrelationId
-
byStatus
-
forTriggerRequest
-
sortByCreatedTime
public static org.springframework.data.domain.Sort sortByCreatedTime(org.springframework.data.domain.Sort.Direction direction) -
applyDefaultSortIfNeeded
public static org.springframework.data.domain.Pageable applyDefaultSortIfNeeded(org.springframework.data.domain.Pageable page)
-