public class CommandsResourceApi extends Object
Constructor and Description |
---|
CommandsResourceApi() |
CommandsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
abortCommand(Integer commandId)
Abort a running command.
|
com.squareup.okhttp.Call |
abortCommandAsync(Integer commandId,
ApiCallback<ApiCommand> callback)
Abort a running command.
|
com.squareup.okhttp.Call |
abortCommandCall(Integer commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for abortCommand
|
ApiResponse<ApiCommand> |
abortCommandWithHttpInfo(Integer commandId)
Abort a running command.
|
ApiClient |
getApiClient() |
File |
getStandardError(Integer commandId)
Download a zip-compressed archive of standard error outputs for the command's one-off processes.
|
com.squareup.okhttp.Call |
getStandardErrorAsync(Integer commandId,
ApiCallback<File> callback)
Download a zip-compressed archive of standard error outputs for the command's one-off processes.
|
com.squareup.okhttp.Call |
getStandardErrorCall(Integer commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStandardError
|
ApiResponse<File> |
getStandardErrorWithHttpInfo(Integer commandId)
Download a zip-compressed archive of standard error outputs for the command's one-off processes.
|
File |
getStandardOutput(Integer commandId)
Download a zip-compressed archive of standard outputs for the command's one-off processes.
|
com.squareup.okhttp.Call |
getStandardOutputAsync(Integer commandId,
ApiCallback<File> callback)
Download a zip-compressed archive of standard outputs for the command's one-off processes.
|
com.squareup.okhttp.Call |
getStandardOutputCall(Integer commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStandardOutput
|
ApiResponse<File> |
getStandardOutputWithHttpInfo(Integer commandId)
Download a zip-compressed archive of standard outputs for the command's one-off processes.
|
ApiCommand |
readCommand(Integer commandId)
Retrieve detailed information on an asynchronous command.
|
com.squareup.okhttp.Call |
readCommandAsync(Integer commandId,
ApiCallback<ApiCommand> callback)
Retrieve detailed information on an asynchronous command.
|
com.squareup.okhttp.Call |
readCommandCall(Integer commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readCommand
|
ApiResponse<ApiCommand> |
readCommandWithHttpInfo(Integer commandId)
Retrieve detailed information on an asynchronous command.
|
ApiCommand |
retry(Integer commandId)
Try to rerun a command.
|
com.squareup.okhttp.Call |
retryAsync(Integer commandId,
ApiCallback<ApiCommand> callback)
Try to rerun a command.
|
com.squareup.okhttp.Call |
retryCall(Integer commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retry
|
ApiResponse<ApiCommand> |
retryWithHttpInfo(Integer commandId)
Try to rerun a command.
|
void |
setApiClient(ApiClient apiClient) |
public CommandsResourceApi()
public CommandsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call abortCommandCall(Integer commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand abortCommand(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> abortCommandWithHttpInfo(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call abortCommandAsync(Integer commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- The command id. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getStandardErrorCall(Integer commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic File getStandardError(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getStandardErrorWithHttpInfo(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStandardErrorAsync(Integer commandId, ApiCallback<File> callback) throws ApiException
commandId
- The command id. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getStandardOutputCall(Integer commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic File getStandardOutput(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getStandardOutputWithHttpInfo(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStandardOutputAsync(Integer commandId, ApiCallback<File> callback) throws ApiException
commandId
- The command id. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readCommandCall(Integer commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand readCommand(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> readCommandWithHttpInfo(Integer commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readCommandAsync(Integer commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- The command id. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call retryCall(Integer commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- ID of the command that needs to be run. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand retry(Integer commandId) throws ApiException
commandId
- ID of the command that needs to be run. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> retryWithHttpInfo(Integer commandId) throws ApiException
commandId
- ID of the command that needs to be run. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retryAsync(Integer commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- ID of the command that needs to be run. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2021. All rights reserved.