Package org.kohsuke.github
Class GHDeploymentStatusBuilder
- java.lang.Object
-
- org.kohsuke.github.GHDeploymentStatusBuilder
-
public class GHDeploymentStatusBuilder extends Object
Creates a new deployment status.
-
-
Constructor Summary
Constructors Constructor Description GHDeploymentStatusBuilder(GHRepository repo, int deploymentId, GHDeploymentState state)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GHDeploymentStatuscreate()Create gh deployment status.GHDeploymentStatusBuilderdescription(String description)Description gh deployment status builder.GHDeploymentStatusBuildertargetUrl(String targetUrl)Target url gh deployment status builder.
-
-
-
Constructor Detail
-
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 Detail
-
description
public GHDeploymentStatusBuilder description(String description)
Description gh deployment status builder.- Parameters:
description- the description- Returns:
- the gh deployment status builder
-
targetUrl
public GHDeploymentStatusBuilder targetUrl(String targetUrl)
Target url gh deployment status builder.- Parameters:
targetUrl- the target url- Returns:
- the gh deployment status builder
-
create
public GHDeploymentStatus create() throws IOException
Create gh deployment status.- Returns:
- the gh deployment status
- Throws:
IOException- the io exception
-
-