Package ca.uhn.fhir.batch2.progress
Class JobInstanceStatusUpdater
java.lang.Object
ca.uhn.fhir.batch2.progress.JobInstanceStatusUpdater
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanupdateInstanceStatus(JobInstance theJobInstance, StatusEnum theNewStatus) Update the status on the instance, and call any completion handlers when entering a completion state.
-
Constructor Details
-
JobInstanceStatusUpdater
-
-
Method Details
-
updateInstanceStatus
Update the status on the instance, and call any completion handlers when entering a completion state.- Parameters:
theJobInstance- the instance to mutatetheNewStatus- target status- Returns:
- was the state change allowed?
-