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 Usercreator()Deployment creatorOptional<String>description()Optional short description.Stringenvironment()The name of the environment that was deployed to.Longid()The Deployment ID to list the statuses from.Optional<Map<String,String>>payload()Optional JSON payload with extra information about the deployment.Stringref()The name of the ref.URIrepositoryUrl()Deployment repository API URLStringsha()The SHA that was recorded at creation time.URIstatusesUrl()Deployment statuses API URLStringtask()The name of the taskURIurl()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
-
-