public interface ProcessFeedback
ProcessFeedback allows communication between process owner and process itself.
If you know processId, you can access its feedback using ProcessHandleManager.getFeedback(Long) method.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled() |
void |
setStatus(ProcessStatus status)
Updates process status
|
void setStatus(@NotNull
ProcessStatus status)
status - New status to be set
todo state that it's not exception-freeboolean isCancelled()
true if the process has been asked to stop with ProcessInfo.cancel()Copyright © 2019 ALM Works. All Rights Reserved.