undoableactionhandler.java
来自「一个java工作流引擎」· Java 代码 · 共 19 行
JAVA
19 行
package org.jbpm.delegation;
/**
* is an ActionHandler that allows to perform compensating actions when a user
* undoes a process instance.
*
* <p>When a process instance is undone, all variable updates will be undone
* automatically. When the execute method of an ActionHandler sets the value
* of a variable, this will be done automatic after the engine calls the undo
* method.</p>
*/
public interface UndoableActionHandler extends ActionHandler {
/**
* performs the compensating transaction for the execute method from the ActionHandler.
*/
void undo( ExecutionContext executionContext );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?