本文整理汇总了Java中org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior类的典型用法代码示例。如果您正苦于以下问题:Java ReceiveTaskActivityBehavior类的具体用法?Java ReceiveTaskActivityBehavior怎么用?Java ReceiveTaskActivityBehavior使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ReceiveTaskActivityBehavior类属于org.activiti.engine.impl.bpmn.behavior包,在下文中一共展示了ReceiveTaskActivityBehavior类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isReceiveTask
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
private boolean isReceiveTask(PvmActivity act)
{
if(act instanceof ActivityImpl)
{
ActivityImpl actImpl = (ActivityImpl) act;
return (actImpl.getActivityBehavior() instanceof ReceiveTaskActivityBehavior);
}
return false;
}
示例2: parseReceiveTask
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
/**
* Parses a receive task.
*/
public ActivityImpl parseReceiveTask(Element receiveTaskElement, ScopeImpl scope) {
ActivityImpl activity = createActivityOnScope(receiveTaskElement, scope);
activity.setActivityBehavior(new ReceiveTaskActivityBehavior());
String async = receiveTaskElement.attributeNS(BpmnParser.ACTIVITI_BPMN_EXTENSIONS_NS, "async");
activity.setAsync("true".equals(async));
parseExecutionListenersOnScope(receiveTaskElement, activity);
for (BpmnParseListener parseListener : parseListeners) {
parseListener.parseManualTask(receiveTaskElement, scope, activity);
}
return activity;
}
示例3: parseReceiveTask
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
/**
* Parses a receive task.
*/
public ActivityImpl parseReceiveTask(Element receiveTaskElement, ScopeImpl scope) {
ActivityImpl activity = createActivityOnScope(receiveTaskElement, scope);
activity.setActivityBehavior(new ReceiveTaskActivityBehavior());
activity.setAsync(isAsync(receiveTaskElement));
activity.setExclusive(isExclusive(receiveTaskElement));
parseExecutionListenersOnScope(receiveTaskElement, activity);
for (BpmnParseListener parseListener : parseListeners) {
parseListener.parseReceiveTask(receiveTaskElement, scope, activity);
}
return activity;
}
示例4: createReceiveTaskActivityBehavior
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
@Override
public ReceiveTaskActivityBehavior createReceiveTaskActivityBehavior(ReceiveTask receiveTask) {
return wrappedActivityBehaviorFactory.createReceiveTaskActivityBehavior(receiveTask);
}
示例5: createReceiveTaskActivityBehavior
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
@Override
public ReceiveTaskActivityBehavior createReceiveTaskActivityBehavior(ReceiveTask receiveTask) {
return new ReceiveTaskActivityBehavior();
}
示例6: createReceiveTaskActivityBehavior
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
public ReceiveTaskActivityBehavior createReceiveTaskActivityBehavior(ReceiveTask receiveTask) {
return new ReceiveTaskActivityBehavior();
}
示例7: createReceiveTaskActivityBehavior
import org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior; //导入依赖的package包/类
public abstract ReceiveTaskActivityBehavior createReceiveTaskActivityBehavior(ReceiveTask receiveTask);