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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLink(JobExecutionResponse.Link link)
static JobExecutionResponse.Builder
builder()
String
getAppName()
String
getBatchStatus()
String
getExitStatus()
Integer
getInstanceId()
String
getInstanceName()
String
getInstanceState()
String
getJobName()
JobParameter
getJobParameters()
String
getJobXMLName()
String
getLastUpdatedTime()
List<JobExecutionResponse.Link>
getLinks()
String
getSubmitter()
void
setAppName(String appName)
void
setBatchStatus(String batchStatus)
void
setExitStatus(String exitStatus)
void
setInstanceId(Integer instanceId)
void
setInstanceName(String instanceName)
void
setInstanceState(String instanceState)
void
setJobName(String jobName)
void
setJobParameters(JobParameter jobParameters)
void
setJobXMLName(String jobXMLName)
void
setLastUpdatedTime(String lastUpdatedTime)
void
setSubmitter(String submitter)
-
-
-
Method Detail
-
getJobParameters
public JobParameter getJobParameters()
-
setJobParameters
public void setJobParameters(JobParameter jobParameters)
-
getJobName
public String getJobName()
-
setJobName
public void setJobName(String jobName)
-
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()
-
-