Class JobExecutionResponse
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.model.JobExecutionResponse
-
public class JobExecutionResponse extends Object
BulkImportJob's JSON response{ “jobName”: “bulkexportchunkjob”, “instanceId”: 9, “appName”: “fhir-bulkdata-webapp#fhir-bulkdata-webapp.war”, “submitter”: “fhiruser”, “batchStatus”: “STARTING”, “jobXMLName”: “FhirBulkExportChunkJob”, “instanceState”: “SUBMITTED”, “lastUpdatedTime”: “2019/09/12 15:18:01.416 -0400”, “_links”: [ { “rel”: “self”, “href”: “https://localhost:9443/ibm/api/batch/jobinstances/9” }, { “rel”: “job logs”, “href”: “https://localhost:9443/ibm/api/batch/jobinstances/9/joblogs” } ] }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobExecutionResponse.Builder
Builder is a convenience pattern to assemble to Java Object that reflects the BatchManagement pattern.static class
JobExecutionResponse.Link
Link is a sub class reflecting the link to the parts of the Export Job.static class
JobExecutionResponse.Parser
Parserstatic class
JobExecutionResponse.Writer
Generates JSON from this object.
-
Constructor Summary
Constructors Constructor Description JobExecutionResponse()
-
Method Summary
-
-
-
Method Detail
-
getJobParameters
public JobParameter getJobParameters()
-
setJobParameters
public void setJobParameters(JobParameter jobParameters)
-
getJobName
public String getJobName()
-
setJobName
public void setJobName(String jobName)
-
getExecutionId
public Integer getExecutionId()
-
setExecutionId
public void setExecutionId(Integer executionId)
-
getInstanceId
public Integer getInstanceId()
-
setInstanceId
public void setInstanceId(Integer instanceId)
-
getAppName
public String getAppName()
-
setAppName
public void setAppName(String appName)
-
getSubmitter
public String getSubmitter()
-
setSubmitter
public void setSubmitter(String submitter)
-
getBatchStatus
public String getBatchStatus()
-
setBatchStatus
public void setBatchStatus(String batchStatus)
-
getJobXMLName
public String getJobXMLName()
-
setJobXMLName
public void setJobXMLName(String jobXMLName)
-
getInstanceName
public String getInstanceName()
-
setInstanceName
public void setInstanceName(String instanceName)
-
getLastUpdatedTime
public String getLastUpdatedTime()
-
setLastUpdatedTime
public void setLastUpdatedTime(String lastUpdatedTime)
-
getLinks
public List<JobExecutionResponse.Link> getLinks()
-
addLink
public void addLink(JobExecutionResponse.Link link)
-
getExitStatus
public String getExitStatus()
-
setExitStatus
public void setExitStatus(String exitStatus)
-
getInstanceState
public String getInstanceState()
-
setInstanceState
public void setInstanceState(String instanceState)
-
builder
public static JobExecutionResponse.Builder builder()
-
-