Interface BulkDataClientAction
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BatchCancelRequestAction
public interface BulkDataClientAction extends java.lang.AutoCloseable
Bulk Data Client Action
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response.Status
getResult()
get the resultvoid
prepare(org.apache.http.impl.client.CloseableHttpClient cli, java.lang.String batchUrl, java.lang.String batchUser, java.lang.String batchPass)
prepares the action using configuration.void
run(java.lang.String tenant, java.lang.String job)
Runs the given client action
-
-
-
Method Detail
-
prepare
void prepare(org.apache.http.impl.client.CloseableHttpClient cli, java.lang.String batchUrl, java.lang.String batchUser, java.lang.String batchPass) throws FHIROperationException
prepares the action using configuration.- Parameters:
cli
-batchurl
-batchUser
-batchPass
-- Throws:
FHIROperationException
- indicating a failure to close the action's dependent resources
-
run
void run(java.lang.String tenant, java.lang.String job) throws FHIROperationException
Runs the given client action- Parameters:
tenant
-job
- the identifier uniquely identifying the logical id of the job- Throws:
FHIROperationException
- indicating a failure to run the action
-
getResult
javax.ws.rs.core.Response.Status getResult()
get the result- Returns:
-
-