@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class JobsApi extends AbstractRestService
|Constructor and Description|
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry based on a given
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
public JobsApi(@Nonnull HttpDestinationProperties httpDestination)
httpDestination- The destination that API should be used with
@Nullable public Job getJob(@Nonnull String jobId) throws RestRequestException
Retrieve Job status
Tracks the status of API requests, which the server executed asynchronously. Roles permitted to execute this operation: - Global roles: WorkflowTenantOperator - Scope: JOB_STATUS_GET
200 - Returns the status of the job
401 - Unauthorized. You have not provided valid authentication credentials to access the resource.
404 - Job not found. You may have provided an incorrect job ID or the job may have already completed.
429 - You have reached the usage limits that are configured for your tenant. You are performing too many requests or consume too many resources.
jobId- The ID of the job for which you check the status. Typically, the ID has been retrieved from another API request that was processed asynchronously. The ID is at most 36 characters long.
RestRequestException- if an error occurs while attempting to invoke the API
Copyright © 2020 SAP SE. All rights reserved.