java.lang.Object
org.kohsuke.github.GHCheckRunBuilder
Drafts or updates a check run.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe Class Action.static final classThe Class Annotation.static final classThe Class Image.static final classThe Class Output. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GHRepositoryThe repo.protected final org.kohsuke.github.RequesterThe requester. -
Method Summary
Modifier and TypeMethodDescriptionadd(GHCheckRunBuilder.Action action) Adds the.add(GHCheckRunBuilder.Output output) Adds the.create()Actually creates the check run.withCompletedAt(Instant completedAt) With completed at.withCompletedAt(Date completedAt) Deprecated.withConclusion(GHCheckRun.Conclusion conclusion) With conclusion.withDetailsURL(String detailsURL) With details URL.withExternalID(String externalID) With external ID.With name.withStartedAt(Instant startedAt) With started at.withStartedAt(Date startedAt) Deprecated.withStatus(GHCheckRun.Status status) With status.
-
Field Details
-
repo
The repo. -
requester
protected final org.kohsuke.github.Requester requesterThe requester.
-
-
Method Details
-
add
Adds the.- Parameters:
action- the action- Returns:
- the GH check run builder
-
add
Adds the.- Parameters:
output- the output- Returns:
- the GH check run builder
-
create
Actually creates the check run. (If more than fifty annotations were requested, this is done in batches.)- Returns:
- the resulting run
- Throws:
IOException- for the usual reasons
-
withCompletedAt
Deprecated.With completed at.- Parameters:
completedAt- the completed at- Returns:
- the GH check run builder
-
withCompletedAt
With completed at.- Parameters:
completedAt- the completed at- Returns:
- the GH check run builder
-
withConclusion
With conclusion.- Parameters:
conclusion- the conclusion- Returns:
- the GH check run builder
-
withDetailsURL
With details URL.- Parameters:
detailsURL- the details URL- Returns:
- the GH check run builder
-
withExternalID
With external ID.- Parameters:
externalID- the external ID- Returns:
- the GH check run builder
-
withName
With name.- Parameters:
name- the nameoldName- the old name- Returns:
- the GH check run builder
-
withStartedAt
Deprecated.With started at.- Parameters:
startedAt- the started at- Returns:
- the GH check run builder
-
withStartedAt
With started at.- Parameters:
startedAt- the started at- Returns:
- the GH check run builder
-
withStatus
With status.- Parameters:
status- the status- Returns:
- the GH check run builder
-
withCompletedAt(Instant)