Class JobInstanceResponse
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.model.JobInstanceResponse
-
public class JobInstanceResponse extends Object
BulkImportJob's JSON response{ “jobName”: “BulkImportJob”, “instanceId”: 9, “appName”: “fhir-bulkimportexport-webapp#fhir-bulkimportexport-webapp-4.0.0-SNAPSHOT.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
JobInstanceResponse.Builder
Builder is a convenience pattern to assemble to Java Object that reflects the BatchManagement pattern.static class
JobInstanceResponse.Link
Link is a sub class reflecting the link to the parts of the Export Job.static class
JobInstanceResponse.Parser
Parserstatic class
JobInstanceResponse.Writer
Generates JSON from this object.
-
Constructor Summary
Constructors Constructor Description JobInstanceResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLink(JobInstanceResponse.Link link)
static JobInstanceResponse.Builder
builder()
String
getAppName()
String
getBatchStatus()
Integer
getExecutionId()
Integer
getInstanceId()
String
getInstanceName()
String
getInstanceState()
String
getJobName()
String
getJobXMLName()
String
getLastUpdatedTime()
List<JobInstanceResponse.Link>
getLinks()
String
getSubmitter()
void
setAppName(String appName)
void
setBatchStatus(String batchStatus)
void
setExecutionId(Integer executionId)
void
setInstanceId(Integer instanceId)
void
setInstanceName(String instanceName)
void
setInstanceState(String instanceState)
void
setJobName(String jobName)
void
setJobXMLName(String jobXMLName)
void
setLastUpdatedTime(String lastUpdatedTime)
void
setSubmitter(String submitter)
-
-
-
Method Detail
-
getExecutionId
public Integer getExecutionId()
-
setExecutionId
public void setExecutionId(Integer executionId)
-
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<JobInstanceResponse.Link> getLinks()
-
addLink
public void addLink(JobInstanceResponse.Link link)
-
getInstanceState
public String getInstanceState()
-
setInstanceState
public void setInstanceState(String instanceState)
-
builder
public static JobInstanceResponse.Builder builder()
-
-