Interface BulkDataClientAction
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BatchCancelRequestAction
public interface BulkDataClientAction extends 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, String batchUrl, String batchUser, String batchPass)
prepares the action using configuration.void
run(String tenant, String job)
Runs the given client action-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
prepare
void prepare(org.apache.http.impl.client.CloseableHttpClient cli, String batchUrl, String batchUser, 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(String tenant, 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:
-
-