Package org.kohsuke.github
Class GHDeploymentStatusBuilder
java.lang.Object
org.kohsuke.github.GHDeploymentStatusBuilder
Creates a new deployment status.
-
Constructor Summary
ConstructorDescriptionGHDeploymentStatusBuilder
(GHRepository repo, int deploymentId, GHDeploymentState state) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionautoInactive
(boolean autoInactive) Deprecated.until preview feature has graduated to stablecreate()
Create gh deployment status.description
(String description) Description gh deployment status builder.environment
(String environment) Deprecated.until preview feature has graduated to stableenvironmentUrl
(String environmentUrl) Deprecated.until preview feature has graduated to stableDeprecated.until preview feature has graduated to stableDeprecated.Target url is deprecated in favor oflogUrl
-
Constructor Details
-
GHDeploymentStatusBuilder
@Deprecated public GHDeploymentStatusBuilder(GHRepository repo, int deploymentId, GHDeploymentState state) Deprecated.Instantiates a new Gh deployment status builder.- Parameters:
repo
- the repodeploymentId
- the deployment idstate
- the state
-
-
Method Details
-
autoInactive
Deprecated.until preview feature has graduated to stableAdd an inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment.- Parameters:
autoInactive
- Add inactive status flag- Returns:
- the gh deployment status builder
-
description
Description gh deployment status builder.- Parameters:
description
- the description- Returns:
- the gh deployment status builder
-
environment
Deprecated.until preview feature has graduated to stableName for the target deployment environment, which can be changed when setting a deploy status.- Parameters:
environment
- the environment name- Returns:
- the gh deployment status builder
-
environmentUrl
Deprecated.until preview feature has graduated to stableThe URL for accessing the environment.- Parameters:
environmentUrl
- the environment url- Returns:
- the gh deployment status builder
-
logUrl
Deprecated.until preview feature has graduated to stableThe full URL of the deployment's output.This method replaces
targetUrl
.- Parameters:
logUrl
- the deployment output url- Returns:
- the gh deployment status builder
-
targetUrl
Deprecated.Target url is deprecated in favor oflogUrl
Target url gh deployment status builder.- Parameters:
targetUrl
- the target url- Returns:
- the gh deployment status builder
-
create
Create gh deployment status.- Returns:
- the gh deployment status
- Throws:
IOException
- the io exception
-
GHDeployment.createStatus(GHDeploymentState)