Package com.spotify.github.v3.repos
Interface Status
-
- All Superinterfaces:
UpdateTracking
- All Known Implementing Classes:
ImmutableStatus
@Immutable public interface Status extends UpdateTracking
Status resource marks commits with a success, failure, error, or pending state, which is then reflected in pull requests involving those commits.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
context()
A string label to differentiate this status from the status of other systems.Optional<User>
creator()
Status creator user entityOptional<URI>
deploymentUrl()
Deployment URLOptional<String>
description()
A short description of the status.Long
id()
Status idOptional<URI>
repositoryUrl()
Repository URLString
state()
The state of the status.Optional<URI>
targetUrl()
The target URL to associate with this status.URI
url()
Status URL-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
state
@Nullable String state()
The state of the status. Can be one of pending, success, error, or failure.
-
targetUrl
Optional<URI> targetUrl()
The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the 'source' of the Status.
-
id
@Nullable Long id()
Status id
-
url
@Nullable URI url()
Status URL
-
context
Optional<String> context()
A string label to differentiate this status from the status of other systems. Default: "default"
-
-