| Package | Description |
|---|---|
| com.huaweicloud.sdk.codehub.v3 | |
| com.huaweicloud.sdk.codehub.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<AddHooksRequest,AddHooksResponse> |
CodeHubMeta.addHooks |
| Modifier and Type | Method and Description |
|---|---|
AddHooksResponse |
CodeHubClient.addHooks(AddHooksRequest request)
为指定仓库添加hook
提交代码自动触发编译构建,添加仓库钩子
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<AddHooksResponse> |
CodeHubAsyncClient.addHooksAsync(AddHooksRequest request)
为指定仓库添加hook
提交代码自动触发编译构建,添加仓库钩子
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<AddHooksRequest,AddHooksResponse> |
CodeHubAsyncClient.addHooksAsyncInvoker(AddHooksRequest request)
为指定仓库添加hook
提交代码自动触发编译构建,添加仓库钩子
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<AddHooksRequest,AddHooksResponse> |
CodeHubClient.addHooksInvoker(AddHooksRequest request)
为指定仓库添加hook
提交代码自动触发编译构建,添加仓库钩子
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
AddHooksResponse |
AddHooksResponse.withError(java.util.function.Consumer<Error> errorSetter) |
AddHooksResponse |
AddHooksResponse.withError(Error error) |
AddHooksResponse |
AddHooksResponse.withResult(java.util.function.Consumer<RepoHook> resultSetter) |
AddHooksResponse |
AddHooksResponse.withResult(RepoHook result) |
AddHooksResponse |
AddHooksResponse.withStatus(String status) |
Copyright © 2022. All rights reserved.