public interface ProcessInfo
ProcessInfo allows communication between process owner and process itself.
If you know processId, you can access its state using ProcessHandleManager.getInfo(Long)
method.
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Ask the process to stop.
|
I18nText |
getActivity() |
ProcessDisplayParameters |
getParameters() |
int |
getPercentComplete() |
ProcessStatus |
getStatus() |
boolean |
isVisibleTo(ApplicationUser user) |
@Nullable ProcessStatus getStatus()
@Nullable ProcessDisplayParameters getParameters()
boolean isVisibleTo(@Nullable ApplicationUser user)
user
- User key@Nullable I18nText getActivity()
int getPercentComplete()
void cancel()
Copyright © 2024 Tempo Software. All Rights Reserved.