Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
da0171a4
Commit
da0171a4
authored
Dec 23, 2019
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码重构】修改JPA为MyBatsi
parent
286ec10e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
222 additions
and
0 deletions
+222
-0
JobTask.java
...myth-admin-core/src/main/java/com/byit/model/JobTask.java
+222
-0
JobTaskMapper.xml
...th-admin-core/src/main/resources/mapper/JobTaskMapper.xml
+0
-0
JobTaskScheduleMapper.xml
...-core/src/main/resources/mapper/JobTaskScheduleMapper.xml
+0
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/JobTask.java
0 → 100644
View file @
da0171a4
package
com
.
byit
.
model
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.util.Date
;
import
lombok.Data
;
/**
*
*/
@ApiModel
@Data
public
class
JobTask
implements
Serializable
{
/**
*/
@ApiModelProperty
(
"主键"
)
private
Integer
id
;
/**
* 当前版本节点主键
*/
@ApiModelProperty
(
"当前版本节点主键"
)
private
Integer
nodeId
;
/**
* 当前工作流版本的报警邮箱
*/
@ApiModelProperty
(
"当前工作流版本的报警邮箱"
)
private
String
alarmEmail
;
/**
* 阻塞策略
*/
@ApiModelProperty
(
"阻塞策略"
)
private
String
blockStrategy
;
/**
* 调度中心端请求插件时的令牌
*/
@ApiModelProperty
(
"调度中心端请求插件时的令牌"
)
private
String
callbackToken
;
/**
* 该节点的依赖节点
*/
@ApiModelProperty
(
"该节点的依赖节点"
)
private
String
dependencyNodes
;
/**
* 当前节点的失败重试次数
*/
@ApiModelProperty
(
"当前节点的失败重试次数"
)
private
Integer
failedRetryCount
;
/**
* 工作流ID
*/
@ApiModelProperty
(
"工作流ID"
)
private
Integer
flowId
;
/**
* 是否跟随任务流 1跟随 2不跟随
*/
@ApiModelProperty
(
"是否跟随任务流 1跟随 2不跟随"
)
private
String
followTaskFlow
;
/**
* 插件端请求调度中心的令牌
*/
@ApiModelProperty
(
"插件端请求调度中心的令牌"
)
private
String
gatewayToken
;
/**
* 当前任务的类型 java python shell sql script
*/
@ApiModelProperty
(
"当前任务的类型 java python shell sql script"
)
private
String
jobType
;
/**
* 本地节点(插件方) 的节点的名字
*/
@ApiModelProperty
(
"本地节点(插件方) 的节点的名字"
)
private
String
localNodeHandlerName
;
/**
* 当前工作流版本的告警的时机
*/
@ApiModelProperty
(
"当前工作流版本的告警的时机"
)
private
String
mailAction
;
/**
* 这个在设置节点执行时间跟随任务流的时候,他是没用的,但是设置不跟随的时候,节点的执行按照他自己的时间执行
*/
@ApiModelProperty
(
"这个在设置节点执行时间跟随任务流的时候,他是没用的,但是设置不跟随的时候,节点的执行按照他自己的时间执行"
)
private
String
nodeCron
;
/**
* 节点的说明
*/
@ApiModelProperty
(
"节点的说明"
)
private
String
nodeDesc
;
/**
* 当前节点的名称
*/
@ApiModelProperty
(
"当前节点的名称"
)
private
String
nodeName
;
/**
* nodeOfFlowId
*/
@ApiModelProperty
(
"nodeOfFlowId"
)
private
Integer
nodeOfFlowId
;
/**
* 节点的超时时间 -1不超时
*/
@ApiModelProperty
(
"节点的超时时间 -1不超时"
)
private
Long
nodeTimeout
;
/**
* 节点的类型 node flow
*/
@ApiModelProperty
(
"节点的类型 node flow"
)
private
String
nodeType
;
/**
* 插件端的url集合
*/
@ApiModelProperty
(
"插件端的url集合"
)
private
String
pluginUrls
;
/**
* 设置任务的优先级,1最低 2最高
*/
@ApiModelProperty
(
"设置任务的优先级,1最低 2最高"
)
private
String
priority
;
/**
* 节点的剩余次数
*/
@ApiModelProperty
(
"节点的剩余次数"
)
private
Integer
remainingCount
;
/**
* 当前节点总共重复次数
*/
@ApiModelProperty
(
"当前节点总共重复次数"
)
private
Integer
repeatCount
;
/**
* 重试的间隔
*/
@ApiModelProperty
(
"重试的间隔"
)
private
Long
retryInterval
;
/**
* 路由策略
*/
@ApiModelProperty
(
"路由策略"
)
private
String
routingStrategy
;
/**
* 运行标识
*/
@ApiModelProperty
(
"运行标识"
)
private
String
runId
;
/**
* 节点的参数
*/
@ApiModelProperty
(
"节点的参数"
)
private
String
runParam
;
/**
* 源码备注
*/
@ApiModelProperty
(
"源码备注"
)
private
String
runSourceDesc
;
/**
* 脚本的文件服务器路径集
*/
@ApiModelProperty
(
"脚本的文件服务器路径集"
)
private
String
scriptUrls
;
/**
* 源码负责人
*/
@ApiModelProperty
(
"源码负责人"
)
private
String
sourcePrincipal
;
/**
* 源码的修改时间
*/
@ApiModelProperty
(
"源码的修改时间"
)
private
Date
sourceUpdateTime
;
/**
* 当前版本的节点的下次执行时间
*/
@ApiModelProperty
(
"当前版本的节点的下次执行时间"
)
private
Long
triggerNextTime
;
/**
* 调度状态:0-暂停,1-运行
*/
@ApiModelProperty
(
"调度状态:0-暂停,1-运行"
)
private
String
triggerStatus
;
/**
* 源码
*/
@ApiModelProperty
(
"源码"
)
private
String
runSource
;
/**
*/
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
byit-myth-core/myth-admin-core/src/main/resources/mapper/JobTaskMapper.xml
0 → 100644
View file @
da0171a4
This diff is collapsed.
Click to expand it.
byit-myth-core/myth-admin-core/src/main/resources/mapper/JobTaskScheduleMapper.xml
0 → 100644
View file @
da0171a4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment