public class GHDeploymentStatusBuilder extends Object
| Constructor and Description |
|---|
GHDeploymentStatusBuilder(GHRepository repo,
int deploymentId,
GHDeploymentState state)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
GHDeploymentStatus |
create()
Create gh deployment status.
|
GHDeploymentStatusBuilder |
description(String description)
Description gh deployment status builder.
|
GHDeploymentStatusBuilder |
targetUrl(String targetUrl)
Target url gh deployment status builder.
|
public GHDeploymentStatusBuilder(GHRepository repo, int deploymentId, GHDeploymentState state)
GHDeployment.createStatus(GHDeploymentState)repo - the repodeploymentId - the deployment idstate - the statepublic GHDeploymentStatusBuilder description(String description)
description - the descriptionpublic GHDeploymentStatusBuilder targetUrl(String targetUrl)
targetUrl - the target urlpublic GHDeploymentStatus create() throws IOException
IOException - the io exceptionCopyright © 2020. All rights reserved.