Class TriggerSearch
java.lang.Object
org.sterl.spring.persistent_tasks.api.TriggerSearch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.data.domain.Sortcreate time ASC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.domain.PageableapplyDefaultSortIfNeeded(org.springframework.data.domain.Pageable page) static TriggerSearchbyCorrelationId(String correlationId) static TriggerSearchbyStatus(TriggerStatus status) static TriggerSearchforTriggerRequest(TriggerRequest<?> trigger) booleanhasValue()static org.springframework.data.domain.SortsortByCreatedTime(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)
-