org.activiti.engine.impl.cmd
类 NeedsActiveTaskCmd<T>
java.lang.Object
org.activiti.engine.impl.cmd.NeedsActiveTaskCmd<T>
- 所有已实现的接口:
- Serializable, Command<T>
- 直接已知子类:
- AddIdentityLinkCmd, ClaimTaskCmd, CompleteTaskCmd, DelegateTaskCmd, DeleteIdentityLinkCmd, RemoveTaskVariablesCmd, ResolveTaskCmd, SetTaskDueDateCmd, SetTaskPriorityCmd, SetTaskVariablesCmd, SubmitTaskFormCmd
public abstract class NeedsActiveTaskCmd<T>
- extends Object
- implements Command<T>, Serializable
An abstract superclass for Command
implementations that
want to verify the provided task is always active (ie. not suspended).
- 作者:
- Joram Barrez
- 另请参见:
- 序列化表格
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskId
protected String taskId
NeedsActiveTaskCmd
public NeedsActiveTaskCmd(String taskId)
execute
public T execute(CommandContext commandContext)
- 指定者:
- 接口
Command<T>
中的 execute
execute
protected abstract T execute(CommandContext commandContext,
TaskEntity task)
- Subclasses must implement in this method their normal command logic.
The provided task is ensured to be active.
getSuspendedTaskException
protected String getSuspendedTaskException()
- Subclasses can override this method to provide a customized exception message
that will be thrown when the task is suspended.
Copyright © 2013 Alfresco. All rights reserved.