org.activiti.engine.impl.cmd
类 NeedsActiveExecutionCmd<T>

java.lang.Object
  继承者 org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd<T>
所有已实现的接口:
Serializable, Command<T>
直接已知子类:
MessageEventReceivedCmd, RemoveExecutionVariablesCmd, SetExecutionVariablesCmd, SignalCmd

public abstract class NeedsActiveExecutionCmd<T>
extends Object
implements Command<T>, Serializable

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

字段摘要
protected  String executionId
           
 
构造方法摘要
NeedsActiveExecutionCmd(String executionId)
           
 
方法摘要
 T execute(CommandContext commandContext)
           
protected abstract  T execute(CommandContext commandContext, ExecutionEntity execution)
          Subclasses should implement this method.
protected  String getSuspendedExceptionMessage()
          Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

executionId

protected String executionId
构造方法详细信息

NeedsActiveExecutionCmd

public NeedsActiveExecutionCmd(String executionId)
方法详细信息

execute

public T execute(CommandContext commandContext)
指定者:
接口 Command<T> 中的 execute

execute

protected abstract T execute(CommandContext commandContext,
                             ExecutionEntity execution)
Subclasses should implement this method. The provided ExecutionEntity is guaranteed to be active (ie. not suspended).


getSuspendedExceptionMessage

protected String getSuspendedExceptionMessage()
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.



Copyright © 2013 Alfresco. All rights reserved.