public interface Work
WorkReport
instance with a status of WorkStatus.FAILED and a reference to the exception| Modifier and Type | Method and Description |
|---|---|
WorkReport |
execute(WorkContext workContext)
Execute the unit of work and return its report.
|
default String |
getName()
The name of the unit of work.
|
default String getName()
WorkReport execute(WorkContext workContext)
WorkReport instance
with a status of WorkStatus.FAILED and a reference to the exception.workContext - context in which this unit of work is being executedCopyright © 2020. All rights reserved.