Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
z_stack
Activiti
提交
a2fee2c7
A
Activiti
项目概览
z_stack
/
Activiti
12 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Activiti
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a2fee2c7
编写于
8月 26, 2019
作者:
I
Igor Dianov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(ProcessRuntime): add default start and receive message implementation
上级
6f23859f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
39 addition
and
6 deletion
+39
-6
activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java
...rg/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java
+14
-2
activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java
...ava/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java
+25
-4
未找到文件。
activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java
浏览文件 @
a2fee2c7
...
...
@@ -16,12 +16,15 @@
package
org.activiti.runtime.api.impl
;
import
java.util.List
;
import
org.activiti.api.process.model.ProcessDefinition
;
import
org.activiti.api.process.model.ProcessInstance
;
import
org.activiti.api.process.model.builders.ProcessPayloadBuilder
;
import
org.activiti.api.process.model.payloads.DeleteProcessPayload
;
import
org.activiti.api.process.model.payloads.GetProcessDefinitionsPayload
;
import
org.activiti.api.process.model.payloads.GetProcessInstancesPayload
;
import
org.activiti.api.process.model.payloads.MessagePayload
;
import
org.activiti.api.process.model.payloads.RemoveProcessVariablesPayload
;
import
org.activiti.api.process.model.payloads.ResumeProcessPayload
;
import
org.activiti.api.process.model.payloads.SetProcessVariablesPayload
;
...
...
@@ -44,8 +47,6 @@ import org.springframework.context.ApplicationEventPublisher;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
@PreAuthorize
(
"hasRole('ACTIVITI_ADMIN')"
)
public
class
ProcessAdminRuntimeImpl
implements
ProcessAdminRuntime
{
...
...
@@ -239,4 +240,15 @@ public class ProcessAdminRuntimeImpl implements ProcessAdminRuntime {
removeProcessVariablesPayload
.
getVariableNames
());
}
@Override
public
void
receive
(
MessagePayload
messagePayload
)
{
throw
new
UnsupportedOperationException
(
"methot not implemented"
);
}
@Override
public
void
start
(
MessagePayload
messagePayload
)
{
throw
new
UnsupportedOperationException
(
"methot not implemented"
);
}
}
activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java
浏览文件 @
a2fee2c7
...
...
@@ -16,13 +16,27 @@
package
org.activiti.runtime.api.impl
;
import
java.util.List
;
import
java.util.Map
;
import
org.activiti.api.model.shared.model.VariableInstance
;
import
org.activiti.api.process.model.ProcessDefinition
;
import
org.activiti.api.process.model.ProcessDefinitionMeta
;
import
org.activiti.api.process.model.ProcessInstance
;
import
org.activiti.api.process.model.ProcessInstanceMeta
;
import
org.activiti.api.process.model.builders.ProcessPayloadBuilder
;
import
org.activiti.api.process.model.payloads.*
;
import
org.activiti.api.process.model.payloads.DeleteProcessPayload
;
import
org.activiti.api.process.model.payloads.GetProcessDefinitionsPayload
;
import
org.activiti.api.process.model.payloads.GetProcessInstancesPayload
;
import
org.activiti.api.process.model.payloads.GetVariablesPayload
;
import
org.activiti.api.process.model.payloads.MessagePayload
;
import
org.activiti.api.process.model.payloads.RemoveProcessVariablesPayload
;
import
org.activiti.api.process.model.payloads.ResumeProcessPayload
;
import
org.activiti.api.process.model.payloads.SetProcessVariablesPayload
;
import
org.activiti.api.process.model.payloads.SignalPayload
;
import
org.activiti.api.process.model.payloads.StartProcessPayload
;
import
org.activiti.api.process.model.payloads.SuspendProcessPayload
;
import
org.activiti.api.process.model.payloads.UpdateProcessPayload
;
import
org.activiti.api.process.runtime.ProcessRuntime
;
import
org.activiti.api.process.runtime.conf.ProcessRuntimeConfiguration
;
import
org.activiti.api.runtime.model.impl.ProcessDefinitionMetaImpl
;
...
...
@@ -46,9 +60,6 @@ import org.springframework.context.ApplicationEventPublisher;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.Map
;
@PreAuthorize
(
"hasRole('ACTIVITI_USER')"
)
public
class
ProcessRuntimeImpl
implements
ProcessRuntime
{
...
...
@@ -333,4 +344,14 @@ public class ProcessRuntimeImpl implements ProcessRuntime {
}
@Override
public
void
receive
(
MessagePayload
messagePayload
)
{
throw
new
UnsupportedOperationException
(
"methot not implemented"
);
}
@Override
public
void
start
(
MessagePayload
messagePayload
)
{
throw
new
UnsupportedOperationException
(
"methot not implemented"
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录