Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| pr_methods:cancel [2023/04/04 06:40] – removed - external edit (Unknown date) 127.0.0.1 | pr_methods:cancel [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | |||
| + | ==== cancel () ==== | ||
| + | <code java> | ||
| + | |||
| + | This method is called by the // | ||
| + | |||
| + | ===Parameters=== | ||
| + | none | ||
| + | |||
| + | ===Returns=== | ||
| + | The method should return true if it allows the system to cancel the process. In this case it should set an internal flag indicating that the process has been cancelled. The execute and resume methods should periodically check this flag and if its value is true abort the execution of the process (see [[docs: | ||