org.activiti.engine.impl.cmd
类 SetTaskVariablesCmd

java.lang.Object
  继承者 org.activiti.engine.impl.cmd.NeedsActiveTaskCmd<Object>
      继承者 org.activiti.engine.impl.cmd.SetTaskVariablesCmd
所有已实现的接口:
Serializable, Command<Object>

public class SetTaskVariablesCmd
extends NeedsActiveTaskCmd<Object>

作者:
Tom Baeyens, Joram Barrez
另请参见:
序列化表格

字段摘要
protected  boolean isLocal
           
protected  Map<String,? extends Object> variables
           
 
从类 org.activiti.engine.impl.cmd.NeedsActiveTaskCmd 继承的字段
taskId
 
构造方法摘要
SetTaskVariablesCmd(String taskId, Map<String,? extends Object> variables, boolean isLocal)
           
 
方法摘要
protected  Object execute(CommandContext commandContext, TaskEntity task)
          Subclasses must implement in this method their normal command logic.
protected  String getSuspendedTaskException()
          Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
 
从类 org.activiti.engine.impl.cmd.NeedsActiveTaskCmd 继承的方法
execute
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

variables

protected Map<String,? extends Object> variables

isLocal

protected boolean isLocal
构造方法详细信息

SetTaskVariablesCmd

public SetTaskVariablesCmd(String taskId,
                           Map<String,? extends Object> variables,
                           boolean isLocal)
方法详细信息

execute

protected Object execute(CommandContext commandContext,
                         TaskEntity task)
从类 NeedsActiveTaskCmd 复制的描述
Subclasses must implement in this method their normal command logic. The provided task is ensured to be active.

指定者:
NeedsActiveTaskCmd<Object> 中的 execute

getSuspendedTaskException

protected String getSuspendedTaskException()
从类 NeedsActiveTaskCmd 复制的描述
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.

覆盖:
NeedsActiveTaskCmd<Object> 中的 getSuspendedTaskException


Copyright © 2013 Alfresco. All rights reserved.