Class RetryMultipleJobsOptions
java.lang.Object
org.sourcelab.buildkite.api.client.request.RetryMultipleJobsOptions
Options for Retrying multiple Jobs.
-
Constructor Summary
ConstructorsConstructorDescriptionRetryMultipleJobsOptions(String organizationSlug, String pipelineIdSlug, long buildNumber, Collection<String> jobIds, boolean throwOnError) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanIf true, if any single request fails, it will not process the remaining requests and immediately throw an exception.Builder instance forRetryMultipleJobsOptions.toString()
-
Constructor Details
-
RetryMultipleJobsOptions
public RetryMultipleJobsOptions(String organizationSlug, String pipelineIdSlug, long buildNumber, Collection<String> jobIds, boolean throwOnError) Constructor.
-
-
Method Details
-
newBuilder
Builder instance forRetryMultipleJobsOptions.- Returns:
- Builder instance for
RetryMultipleJobsOptions.
-
getOrganizationSlug
-
getPipelineSlug
-
getBuildNumber
public long getBuildNumber() -
getJobIds
-
isThrowOnError
public boolean isThrowOnError()If true, if any single request fails, it will not process the remaining requests and immediately throw an exception. If false, any errors will be captured by the return result, and further requests will continue.- Returns:
- If true, errors will be raised as they occur. If false, errors will be captured in the resulting object returned.
-
toString
-