Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
DolphinScheduler
提交
bf077cb3
DolphinScheduler
项目概览
apache
/
DolphinScheduler
上一次同步 1 年多
通知
704
Star
9572
Fork
3514
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
bf077cb3
编写于
6月 21, 2022
作者:
C
caishunfeng
提交者:
GitHub
6月 21, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change import method access to protected (#10536)
上级
d7cf09af
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
...eduler/api/service/impl/ProcessDefinitionServiceImpl.java
+8
-8
未找到文件。
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
浏览文件 @
bf077cb3
...
...
@@ -279,7 +279,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
createDagDefine
(
loginUser
,
taskRelationList
,
processDefinition
,
taskDefinitionLogs
,
otherParamsJson
);
}
pr
ivate
Map
<
String
,
Object
>
createDagDefine
(
User
loginUser
,
pr
otected
Map
<
String
,
Object
>
createDagDefine
(
User
loginUser
,
List
<
ProcessTaskRelationLog
>
taskRelationList
,
ProcessDefinition
processDefinition
,
List
<
TaskDefinitionLog
>
taskDefinitionLogs
,
String
otherParamsJson
)
{
...
...
@@ -614,7 +614,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
updateDagDefine
(
loginUser
,
taskRelationList
,
processDefinition
,
processDefinitionDeepCopy
,
taskDefinitionLogs
,
otherParamsJson
);
}
pr
ivate
Map
<
String
,
Object
>
updateDagDefine
(
User
loginUser
,
pr
otected
Map
<
String
,
Object
>
updateDagDefine
(
User
loginUser
,
List
<
ProcessTaskRelationLog
>
taskRelationList
,
ProcessDefinition
processDefinition
,
ProcessDefinition
processDefinitionDeepCopy
,
...
...
@@ -863,7 +863,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
/**
* download the process definition file
*/
pr
ivate
void
downloadProcessDefinitionFile
(
HttpServletResponse
response
,
List
<
DagDataSchedule
>
dagDataSchedules
)
{
pr
otected
void
downloadProcessDefinitionFile
(
HttpServletResponse
response
,
List
<
DagDataSchedule
>
dagDataSchedules
)
{
response
.
setContentType
(
MediaType
.
APPLICATION_JSON_UTF8_VALUE
);
BufferedOutputStream
buff
=
null
;
ServletOutputStream
out
=
null
;
...
...
@@ -1143,7 +1143,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
/**
* check and import
*/
pr
ivate
boolean
checkAndImport
(
User
loginUser
,
long
projectCode
,
Map
<
String
,
Object
>
result
,
DagDataSchedule
dagDataSchedule
,
String
otherParamsJson
)
{
pr
otected
boolean
checkAndImport
(
User
loginUser
,
long
projectCode
,
Map
<
String
,
Object
>
result
,
DagDataSchedule
dagDataSchedule
,
String
otherParamsJson
)
{
if
(!
checkImportanceParams
(
dagDataSchedule
,
result
))
{
return
false
;
}
...
...
@@ -1733,7 +1733,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
result
;
}
pr
ivate
void
doBatchOperateProcessDefinition
(
User
loginUser
,
pr
otected
void
doBatchOperateProcessDefinition
(
User
loginUser
,
long
targetProjectCode
,
List
<
String
>
failedProcessList
,
String
processDefinitionCodes
,
...
...
@@ -2027,7 +2027,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
result
;
}
pr
ivate
Map
<
String
,
Object
>
createEmptyDagDefine
(
User
loginUser
,
ProcessDefinition
processDefinition
)
{
pr
otected
Map
<
String
,
Object
>
createEmptyDagDefine
(
User
loginUser
,
ProcessDefinition
processDefinition
)
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
int
insertVersion
=
processService
.
saveProcessDefine
(
loginUser
,
processDefinition
,
Boolean
.
TRUE
,
Boolean
.
TRUE
);
if
(
insertVersion
==
0
)
{
...
...
@@ -2039,7 +2039,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
result
;
}
pr
ivate
Map
<
String
,
Object
>
createDagSchedule
(
User
loginUser
,
ProcessDefinition
processDefinition
,
String
scheduleJson
)
{
pr
otected
Map
<
String
,
Object
>
createDagSchedule
(
User
loginUser
,
ProcessDefinition
processDefinition
,
String
scheduleJson
)
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
Schedule
scheduleObj
=
JSONUtils
.
parseObject
(
scheduleJson
,
Schedule
.
class
);
if
(
scheduleObj
==
null
)
{
...
...
@@ -2162,7 +2162,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return
result
;
}
pr
ivate
Map
<
String
,
Object
>
updateDagSchedule
(
User
loginUser
,
pr
otected
Map
<
String
,
Object
>
updateDagSchedule
(
User
loginUser
,
long
projectCode
,
long
processDefinitionCode
,
String
scheduleJson
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录