public class GHDeploymentBuilder extends Object
| Constructor and Description |
|---|
GHDeploymentBuilder(GHRepository repo) |
GHDeploymentBuilder(GHRepository repo,
String ref) |
| Modifier and Type | Method and Description |
|---|---|
GHDeploymentBuilder |
autoMerge(boolean autoMerge) |
GHDeployment |
create() |
GHDeploymentBuilder |
description(String description) |
GHDeploymentBuilder |
environment(String environment) |
GHDeploymentBuilder |
payload(String payload) |
GHDeploymentBuilder |
ref(String branch) |
GHDeploymentBuilder |
requiredContexts(List<String> requiredContexts) |
GHDeploymentBuilder |
task(String task) |
public GHDeploymentBuilder(GHRepository repo)
public GHDeploymentBuilder(GHRepository repo, String ref)
public GHDeploymentBuilder ref(String branch)
public GHDeploymentBuilder task(String task)
public GHDeploymentBuilder autoMerge(boolean autoMerge)
public GHDeploymentBuilder requiredContexts(List<String> requiredContexts)
public GHDeploymentBuilder payload(String payload)
public GHDeploymentBuilder environment(String environment)
public GHDeploymentBuilder description(String description)
public GHDeployment create() throws IOException
IOExceptionCopyright © 2017. All rights reserved.