Class JobExecutionResponse
- java.lang.Object
-
- org.linuxforhealth.fhir.operation.bulkdata.model.JobExecutionResponse
-
public class JobExecutionResponse extends java.lang.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()
java.lang.String
getAppName()
java.lang.String
getBatchStatus()
java.lang.Integer
getExecutionId()
java.lang.String
getExitStatus()
java.lang.Integer
getInstanceId()
java.lang.String
getInstanceName()
java.lang.String
getInstanceState()
java.lang.String
getJobName()
JobParameter
getJobParameters()
java.lang.String
getJobXMLName()
java.lang.String
getLastUpdatedTime()
java.util.List<JobExecutionResponse.Link>
getLinks()
java.lang.String
getSubmitter()
void
setAppName(java.lang.String appName)
void
setBatchStatus(java.lang.String batchStatus)
void
setExecutionId(java.lang.Integer executionId)
void
setExitStatus(java.lang.String exitStatus)
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
setJobParameters(JobParameter jobParameters)
void
setJobXMLName(java.lang.String jobXMLName)
void
setLastUpdatedTime(java.lang.String lastUpdatedTime)
void
setSubmitter(java.lang.String submitter)
java.lang.String
toString()
-
-
-
Method Detail
-
getJobParameters
public JobParameter getJobParameters()
-
setJobParameters
public void setJobParameters(JobParameter jobParameters)
-
getJobName
public java.lang.String getJobName()
-
setJobName
public void setJobName(java.lang.String jobName)
-
getExecutionId
public java.lang.Integer getExecutionId()
-
setExecutionId
public void setExecutionId(java.lang.Integer executionId)
-
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<JobExecutionResponse.Link> getLinks()
-
addLink
public void addLink(JobExecutionResponse.Link link)
-
getExitStatus
public java.lang.String getExitStatus()
-
setExitStatus
public void setExitStatus(java.lang.String exitStatus)
-
getInstanceState
public java.lang.String getInstanceState()
-
setInstanceState
public void setInstanceState(java.lang.String instanceState)
-
builder
public static JobExecutionResponse.Builder builder()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-