wangting
2024-11-05 19d2c06b04aab6d21a36bd5b41c78cdea8ae58b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.jbpm.api.cmd;
 
import java.io.Serializable;
 
import org.jbpm.api.ProcessEngine;
 
/** commands that can be {@link ProcessEngine#execute(Command) executed by the process engine}.
 * 
 * @author Tom Baeyens
 */
public interface Command<T> extends Serializable {
  
  T execute(Environment environment) throws Exception;
}