Class JobInstanceResponse
- java.lang.Object
-
- org.linuxforhealth.fhir.operation.bulkdata.model.JobInstanceResponse
-
public class JobInstanceResponse extends java.lang.Object
BulkImportJob's JSON response{ “jobName”: “BulkImportJob”, “instanceId”: 9, “appName”: “fhir-bulkdata-webapp#fhir-bulkdata-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()
java.lang.String
getAppName()
java.lang.String
getBatchStatus()
java.util.List<java.lang.Integer>
getExecutionId()
java.lang.Integer
getInstanceId()
java.lang.String
getInstanceName()
java.lang.String
getInstanceState()
java.lang.String
getJobName()
java.lang.String
getJobXMLName()
java.lang.String
getLastUpdatedTime()
java.util.List<JobInstanceResponse.Link>
getLinks()
java.lang.String
getSubmitter()
void
setAppName(java.lang.String appName)
void
setBatchStatus(java.lang.String batchStatus)
void
setExecutionId(java.util.List<java.lang.Integer> executionId)
void
setInstanceId(java.lang.Integer instanceId)
void
setInstanceName(java.lang.String instanceName)
void
setInstanceState(java.lang.String instanceState)
void
setJobName(java.lang.String jobName)
void
setJobXMLName(java.lang.String jobXMLName)
void
setLastUpdatedTime(java.lang.String lastUpdatedTime)
void
setSubmitter(java.lang.String submitter)
-
-
-
Method Detail
-
getExecutionId
public java.util.List<java.lang.Integer> getExecutionId()
-
setExecutionId
public void setExecutionId(java.util.List<java.lang.Integer> executionId)
-
getJobName
public java.lang.String getJobName()
-
setJobName
public void setJobName(java.lang.String jobName)
-
getInstanceId
public java.lang.Integer getInstanceId()
-
setInstanceId
public void setInstanceId(java.lang.Integer instanceId)
-
getAppName
public java.lang.String getAppName()
-
setAppName
public void setAppName(java.lang.String appName)
-
getSubmitter
public java.lang.String getSubmitter()
-
setSubmitter
public void setSubmitter(java.lang.String submitter)
-
getBatchStatus
public java.lang.String getBatchStatus()
-
setBatchStatus
public void setBatchStatus(java.lang.String batchStatus)
-
getJobXMLName
public java.lang.String getJobXMLName()
-
setJobXMLName
public void setJobXMLName(java.lang.String jobXMLName)
-
getInstanceName
public java.lang.String getInstanceName()
-
setInstanceName
public void setInstanceName(java.lang.String instanceName)
-
getLastUpdatedTime
public java.lang.String getLastUpdatedTime()
-
setLastUpdatedTime
public void setLastUpdatedTime(java.lang.String lastUpdatedTime)
-
getLinks
public java.util.List<JobInstanceResponse.Link> getLinks()
-
addLink
public void addLink(JobInstanceResponse.Link link)
-
getInstanceState
public java.lang.String getInstanceState()
-
setInstanceState
public void setInstanceState(java.lang.String instanceState)
-
builder
public static JobInstanceResponse.Builder builder()
-
-