public class BuildRequests extends BaseRequests
baseUrl, client, gson| Constructor and Description |
|---|
BuildRequests(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
Build |
artifacts(String buildId,
Artifact artifact) |
Build |
artifacts(String buildId,
Artifact[] artifacts) |
Build |
create(CreateBuild createBuild) |
Boolean |
delete(String buildId) |
Build |
get(String buildId) |
Build[] |
get(String teamId,
Integer limit,
Integer skip) |
Build |
keep(String buildId,
Boolean keep) |
Build |
update(Build build) |
sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntitypublic BuildRequests(String baseUrl)
public Build create(CreateBuild createBuild) throws IOException
IOExceptionpublic Build[] get(String teamId, Integer limit, Integer skip) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic Build get(String buildId) throws IOException
IOExceptionpublic Boolean delete(String buildId) throws IOException
IOExceptionpublic Build update(Build build) throws IOException
IOExceptionpublic Build keep(String buildId, Boolean keep) throws IOException
IOExceptionpublic Build artifacts(String buildId, Artifact artifact) throws IOException
IOExceptionpublic Build artifacts(String buildId, Artifact[] artifacts) throws IOException
IOExceptionCopyright © 2021. All rights reserved.