Class JobSpecifications
java.lang.Object
com.bluebell.greenhouse.radicle.specifications.job.JobSpecifications
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.Specification<Job> Filters for jobs executed before the given time.static org.springframework.data.jpa.domain.Specification<Job> executionOnOrAfter(LocalDateTime start) Filters for jobs executed on or after the given time.static org.springframework.data.jpa.domain.Specification<Job> hasCorrelationId(String correlationId) Filters by exact correlation identifier.static org.springframework.data.jpa.domain.Specification<Job> Filters by exact public job identifier.static org.springframework.data.jpa.domain.Specification<Job> hasRootJobId(String rootJobId) Filters by exact root lineage identifier.static org.springframework.data.jpa.domain.Specification<Job> Filters byJobStatus.static org.springframework.data.jpa.domain.Specification<Job> Filters byJobType.static org.springframework.data.jpa.domain.Specification<Job> matchesQuery(String query) Filters by a free-text query across the job name, display name, and job id.
-
Method Details
-
executionOnOrAfter
public static org.springframework.data.jpa.domain.Specification<Job> executionOnOrAfter(LocalDateTime start) Filters for jobs executed on or after the given time.- Parameters:
start-LocalDateTime- Returns:
Specification
-
executionBefore
public static org.springframework.data.jpa.domain.Specification<Job> executionBefore(LocalDateTime end) Filters for jobs executed before the given time.- Parameters:
end-LocalDateTime- Returns:
Specification
-
hasStatus
-
hasType
-
matchesQuery
-
hasJobId
-
hasRootJobId
-
hasCorrelationId
-