Class CompareComply
@Deprecated public class CompareComply extends com.ibm.cloud.sdk.core.service.BaseService
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVICE_NAME
Deprecated.static String
DEFAULT_SERVICE_URL
Deprecated.Fields inherited from class com.ibm.cloud.sdk.core.service.BaseService
PROPNAME_DISABLE_SSL, PROPNAME_ENABLE_GZIP, PROPNAME_URL
-
Constructor Summary
Constructors Constructor Description CompareComply(String version)
Deprecated.Constructs an instance of the `CompareComply` client.CompareComply(String version, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Deprecated.Constructs an instance of the `CompareComply` client.CompareComply(String version, String serviceName)
Deprecated.Constructs an instance of the `CompareComply` client.CompareComply(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Deprecated.Constructs an instance of the `CompareComply` client. -
Method Summary
Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackReturn>
addFeedback(AddFeedbackOptions addFeedbackOptions)
Deprecated.Add feedback.com.ibm.cloud.sdk.core.http.ServiceCall<ClassifyReturn>
classifyElements(ClassifyElementsOptions classifyElementsOptions)
Deprecated.Classify the elements of a document.com.ibm.cloud.sdk.core.http.ServiceCall<CompareReturn>
compareDocuments(CompareDocumentsOptions compareDocumentsOptions)
Deprecated.Compare two documents.com.ibm.cloud.sdk.core.http.ServiceCall<HTMLReturn>
convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)
Deprecated.Convert document to HTML.com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus>
createBatch(CreateBatchOptions createBatchOptions)
Deprecated.Submit a batch-processing request.com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackDeleted>
deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)
Deprecated.Delete a specified feedback entry.com.ibm.cloud.sdk.core.http.ServiceCall<TableReturn>
extractTables(ExtractTablesOptions extractTablesOptions)
Deprecated.Extract a document's tables.com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus>
getBatch(GetBatchOptions getBatchOptions)
Deprecated.Get information about a specific batch-processing job.com.ibm.cloud.sdk.core.http.ServiceCall<GetFeedback>
getFeedback(GetFeedbackOptions getFeedbackOptions)
Deprecated.Get a specified feedback entry.String
getVersion()
Deprecated.Gets the version.com.ibm.cloud.sdk.core.http.ServiceCall<Batches>
listBatches()
Deprecated.List submitted batch-processing jobs.com.ibm.cloud.sdk.core.http.ServiceCall<Batches>
listBatches(ListBatchesOptions listBatchesOptions)
Deprecated.List submitted batch-processing jobs.com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList>
listFeedback()
Deprecated.List the feedback in a document.com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList>
listFeedback(ListFeedbackOptions listFeedbackOptions)
Deprecated.List the feedback in a document.void
setVersion(String version)
Deprecated.Sets the version.com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus>
updateBatch(UpdateBatchOptions updateBatchOptions)
Deprecated.Update a pending or active batch-processing job.Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, enableGzipCompression, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
Field Details
-
DEFAULT_SERVICE_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
CompareComply
Deprecated.Constructs an instance of the `CompareComply` client. The default service name is used to configure the client instance.- Parameters:
version
- Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.
-
CompareComply
Deprecated.Constructs an instance of the `CompareComply` client. The default service name and specified authenticator are used to configure the client instance.- Parameters:
version
- Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.authenticator
- theAuthenticator
instance to be configured for this client
-
CompareComply
Deprecated.Constructs an instance of the `CompareComply` client. The specified service name is used to configure the client instance.- Parameters:
version
- Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.serviceName
- the service name to be used when configuring the client instance
-
CompareComply
public CompareComply(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Deprecated.Constructs an instance of the `CompareComply` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
version
- Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.serviceName
- the service name to be used when configuring the client instanceauthenticator
- theAuthenticator
instance to be configured for this client
-
-
Method Details
-
getVersion
Deprecated.Gets the version.Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.
- Returns:
- the version
-
setVersion
Deprecated.Sets the version.- Parameters:
version
- the new version
-
convertToHtml
public com.ibm.cloud.sdk.core.http.ServiceCall<HTMLReturn> convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)Deprecated.Convert document to HTML.Converts a document to HTML.
- Parameters:
convertToHtmlOptions
- theConvertToHtmlOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeHTMLReturn
-
classifyElements
public com.ibm.cloud.sdk.core.http.ServiceCall<ClassifyReturn> classifyElements(ClassifyElementsOptions classifyElementsOptions)Deprecated.Classify the elements of a document.Analyzes the structural and semantic elements of a document.
- Parameters:
classifyElementsOptions
- theClassifyElementsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeClassifyReturn
-
extractTables
public com.ibm.cloud.sdk.core.http.ServiceCall<TableReturn> extractTables(ExtractTablesOptions extractTablesOptions)Deprecated.Extract a document's tables.Analyzes the tables in a document.
- Parameters:
extractTablesOptions
- theExtractTablesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeTableReturn
-
compareDocuments
public com.ibm.cloud.sdk.core.http.ServiceCall<CompareReturn> compareDocuments(CompareDocumentsOptions compareDocumentsOptions)Deprecated.Compare two documents.Compares two input documents. Documents must be in the same format.
- Parameters:
compareDocumentsOptions
- theCompareDocumentsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCompareReturn
-
addFeedback
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackReturn> addFeedback(AddFeedbackOptions addFeedbackOptions)Deprecated.Add feedback.Adds feedback in the form of _labels_ from a subject-matter expert (SME) to a governing document. **Important:** Feedback is not immediately incorporated into the training model, nor is it guaranteed to be incorporated at a later date. Instead, submitted feedback is used to suggest future updates to the training model.
- Parameters:
addFeedbackOptions
- theAddFeedbackOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFeedbackReturn
-
listFeedback
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList> listFeedback(ListFeedbackOptions listFeedbackOptions)Deprecated.List the feedback in a document.Lists the feedback in a document.
- Parameters:
listFeedbackOptions
- theListFeedbackOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFeedbackList
-
listFeedback
Deprecated.List the feedback in a document.Lists the feedback in a document.
- Returns:
- a
ServiceCall
with a result of typeFeedbackList
-
getFeedback
public com.ibm.cloud.sdk.core.http.ServiceCall<GetFeedback> getFeedback(GetFeedbackOptions getFeedbackOptions)Deprecated.Get a specified feedback entry.Gets a feedback entry with a specified `feedback_id`.
- Parameters:
getFeedbackOptions
- theGetFeedbackOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeGetFeedback
-
deleteFeedback
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackDeleted> deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)Deprecated.Delete a specified feedback entry.Deletes a feedback entry with a specified `feedback_id`.
- Parameters:
deleteFeedbackOptions
- theDeleteFeedbackOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeFeedbackDeleted
-
createBatch
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> createBatch(CreateBatchOptions createBatchOptions)Deprecated.Submit a batch-processing request.Run Compare and Comply methods over a collection of input documents.
**Important:** Batch processing requires the use of the [IBM Cloud Object Storage service](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-about#about-ibm-cloud-object-storage). The use of IBM Cloud Object Storage with Compare and Comply is discussed at [Using batch processing](https://cloud.ibm.com/docs/compare-comply?topic=compare-comply-batching#before-you-batch).
- Parameters:
createBatchOptions
- theCreateBatchOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBatchStatus
-
listBatches
public com.ibm.cloud.sdk.core.http.ServiceCall<Batches> listBatches(ListBatchesOptions listBatchesOptions)Deprecated.List submitted batch-processing jobs.Lists batch-processing jobs submitted by users.
- Parameters:
listBatchesOptions
- theListBatchesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBatches
-
listBatches
Deprecated.List submitted batch-processing jobs.Lists batch-processing jobs submitted by users.
- Returns:
- a
ServiceCall
with a result of typeBatches
-
getBatch
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> getBatch(GetBatchOptions getBatchOptions)Deprecated.Get information about a specific batch-processing job.Gets information about a batch-processing job with a specified ID.
- Parameters:
getBatchOptions
- theGetBatchOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBatchStatus
-
updateBatch
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> updateBatch(UpdateBatchOptions updateBatchOptions)Deprecated.Update a pending or active batch-processing job.Updates a pending or active batch-processing job. You can rescan the input bucket to check for new documents or cancel a job.
- Parameters:
updateBatchOptions
- theUpdateBatchOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBatchStatus
-