com.ptc.windchill.upgrade.util
Interface CancellationMonitor
- All Known Implementing Classes:
- ThreadedCancelConfirmPrompt
- public interface CancellationMonitor
An interface that allows cancellable tasks to check if they have been cancelled without knowing
about the mechanism by which the cancellation was requested.
- See Also:
ThreadedCancelConfirmPrompt
Method Summary |
boolean |
hasCancelBeenRequested(boolean block_if_deciding)
Check if a cancellation has been requested. |
hasCancelBeenRequested
public boolean hasCancelBeenRequested(boolean block_if_deciding)
- Check if a cancellation has been requested.
- Parameters:
block_if_deciding
- If true, block the caller if the decision is in progress, and return once a decision has been made. Otherwise, return the latest decision immediately.