Interface BulkDataClientAction
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BatchCancelRequestAction
public interface BulkDataClientAction extends java.lang.AutoCloseableBulk Data Client Action
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response.StatusgetResult()get the resultvoidprepare(org.apache.http.impl.client.CloseableHttpClient cli, java.lang.String batchUrl, java.lang.String batchUser, java.lang.String batchPass)prepares the action using configuration.voidrun(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 FHIROperationExceptionprepares 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 FHIROperationExceptionRuns 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:
-
-