Class WorkflowRunFilterCriteriaBuilder
java.lang.Object
org.sourcelab.github.client.request.WorkflowRunFilterCriteriaBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create new instance.withBranch(String branch) withCheckSuiteId(Long checkSuiteId) withCreated(String createdSearchStr) withCreatedNewerOrEqualThan(ZonedDateTime zonedDateTime) Search for entries with a createdAt timestamp greater than the given date.withCreatedNewerThan(ZonedDateTime zonedDateTime) Search for entries with a createdAt timestamp greater than the given date.withExcludePullRequests(Boolean excludePullRequests) withHeadSha(String headSha) withPageOptions(PageOptions pageOptions) withStatus(WorkflowRunStatus status) withWorkflowId(long workflowId)
-
Constructor Details
-
WorkflowRunFilterCriteriaBuilder
public WorkflowRunFilterCriteriaBuilder()
-
-
Method Details
-
withOwner
-
withRepo
-
withWorkflowId
-
withActor
-
withBranch
-
withEvent
-
withStatus
-
withExcludePullRequests
-
withCheckSuiteId
-
withHeadSha
-
withPageOptions
-
withCreated
-
withCreatedNewerThan
Search for entries with a createdAt timestamp greater than the given date.- Parameters:
zonedDateTime- The createdAt range.
-
withCreatedNewerOrEqualThan
Search for entries with a createdAt timestamp greater than the given date.- Parameters:
zonedDateTime- The createdAt range.
-
build
Create new instance.- Returns:
- new WorkflowRunFilterCriteria instance.
-