Package com.spotify.github.v3.repos
Interface Deployment
-
- All Superinterfaces:
UpdateTracking
- All Known Implementing Classes:
ImmutableDeployment
@Immutable public interface Deployment extends UpdateTracking
Deployments are a request for a specific ref (branch, SHA, tag) to be deployed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description User
creator()
Deployment creatorOptional<String>
description()
Optional short description.String
environment()
The name of the environment that was deployed to.Long
id()
The Deployment ID to list the statuses from.Optional<Map<String,String>>
payload()
Optional JSON payload with extra information about the deployment.String
ref()
The name of the ref.URI
repositoryUrl()
Deployment repository API URLString
sha()
The SHA that was recorded at creation time.URI
statusesUrl()
Deployment statuses API URLString
task()
The name of the taskURI
url()
Deployment API URL-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
url
@Nullable URI url()
Deployment API URL
-
id
@Nullable Long id()
The Deployment ID to list the statuses from.
-
sha
@Nullable String sha()
The SHA that was recorded at creation time.
-
ref
@Nullable String ref()
The name of the ref. This can be a branch, tag, or SHA.
-
task
@Nullable String task()
The name of the task
-
payload
Optional<Map<String,String>> payload()
Optional JSON payload with extra information about the deployment.
-
environment
@Nullable String environment()
The name of the environment that was deployed to. e.g. staging or production.
-
creator
@Nullable User creator()
Deployment creator
-
statusesUrl
@Nullable URI statusesUrl()
Deployment statuses API URL
-
repositoryUrl
@Nullable URI repositoryUrl()
Deployment repository API URL
-
-