@Test public void testGetOutputParametersWithJson() throws Exception { PollingLocationResponse pollingLocationResponse = new PollingLocationResponse(); Parameters result = BulkDataExportUtil.getOutputParametersWithJson(pollingLocationResponse); assertNotNull(result); assertFalse(result.getParameter().isEmpty()); assertFalse( result.getParameter().get(0).getValue().as(com.ibm.fhir.model.type.String.class).getValue().isEmpty()); }
public static Parameters getOutputParametersWithJson(PollingLocationResponse resource) throws Exception { Parameters.Builder parametersBuilder = Parameters.builder(); parametersBuilder .parameter(Parameter.builder().name(string("return")) .value(string(PollingLocationResponse.Writer.generate(resource))).build()); return parametersBuilder.build(); }
BulkDataExportUtil { public static Parameters getOutputParametersWithJson(PollingLocationResponse resource) throws Exception { Parameters.Builder parametersBuilder = Parameters.builder(); parametersBuilder .parameter(Parameter.builder().name(string("return")) .value(string(PollingLocationResponse.Writer.generate(resource))).build()); return parametersBuilder.build(); } }
BulkDataExportUtil { public static Parameters getOutputParametersWithJson(PollingLocationResponse resource) throws Exception { Parameters.Builder parametersBuilder = Parameters.builder(); parametersBuilder .parameter(Parameter.builder().name(string("return")) .value(string(PollingLocationResponse.Writer.generate(resource))).build()); return parametersBuilder.build(); } private  BulkDataExportUtil(); }
BulkDataExportUtil { public static Parameters getOutputParametersWithJson(PollingLocationResponse resource) throws Exception { Parameters.Builder parametersBuilder = Parameters.builder(); parametersBuilder .parameter(Parameter.builder().name(string("return")) .value(string(PollingLocationResponse.Writer.generate(resource))).build()); return parametersBuilder.build(); } private  BulkDataExportUtil(); static BulkDataConstants.ExportType checkExportType(FHIROperationContext.Type type,
            Class<? extends Resource> resourceType); static MediaType checkAndConvertToMediaType(Parameters parameters); static FHIROperationException buildOperationException(String errMsg, IssueType issueType); static Instant checkAndExtractSince(Parameters parameters); static List<String> checkAndValidateTypes(Parameters parameters); static List<String> checkAndValidateTypeFilters(Parameters parameters); static Parameters getOutputParametersWithJson(PollingLocationResponse resource); static String checkAndValidateJob(Parameters parameters); static String encryptBatchJobId(String strToEncrypt, SecretKeySpec key); static String decryptBatchJobId(String strToDecrypt, SecretKeySpec key); }
BulkDataExportUtil { public static Parameters getOutputParametersWithJson(PollingLocationResponse resource) throws Exception { Parameters.Builder parametersBuilder = Parameters.builder(); parametersBuilder .parameter(Parameter.builder().name(string("return")) .value(string(PollingLocationResponse.Writer.generate(resource))).build()); return parametersBuilder.build(); } private  BulkDataExportUtil(); static BulkDataConstants.ExportType checkExportType(FHIROperationContext.Type type,
            Class<? extends Resource> resourceType); static MediaType checkAndConvertToMediaType(Parameters parameters); static FHIROperationException buildOperationException(String errMsg, IssueType issueType); static Instant checkAndExtractSince(Parameters parameters); static List<String> checkAndValidateTypes(Parameters parameters); static List<String> checkAndValidateTypeFilters(Parameters parameters); static Parameters getOutputParametersWithJson(PollingLocationResponse resource); static String checkAndValidateJob(Parameters parameters); static String encryptBatchJobId(String strToEncrypt, SecretKeySpec key); static String decryptBatchJobId(String strToDecrypt, SecretKeySpec key);  }