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
f047ac4a
Commit
f047ac4a
authored
Dec 09, 2019
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务节点映射类
parent
8c3b7fd3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
144 additions
and
0 deletions
+144
-0
MythJobInfo.java
...-common/src/main/java/com/byit/job/model/MythJobInfo.java
+144
-0
No files found.
byit-myth-core/myth-core-common/src/main/java/com/byit/job/model/MythJobInfo.java
0 → 100644
View file @
f047ac4a
package
com
.
byit
.
job
.
model
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
java.util.Date
;
/**
* @program: byit-myth-job->MythJobInfo
* @description: 任务节点映射实体
* @author: huangfu
* @date: 2019/12/9 10:18
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public
class
MythJobInfo
{
/**
* 任务节点的id
*/
private
String
id
;
/**
* 任务节点的名字
*/
private
String
name
;
/**
* 插件任务调度的key,调度中心会根据这个key找到对应的插件端任务,执行
*/
private
String
executorHandler
;
/**
* 任务周期调度cron表达式
*/
private
String
jobCron
;
/**
* 任务详情,展示在调度中心平台的备注
*/
private
String
jobDesc
;
/**
* 插件地址的集合
*/
private
String
pluginUrls
;
/**
* 路由策略
* 1随机(默认)
* 2轮询
* 3最近最少使用
* 4最近最久未使用算法
* 5哈希算法
*/
private
String
routingStrategy
;
/**
* 阻塞策略:
* 1丢弃
* 2阻塞等待(默认)
*/
private
String
blockingStrategy
;
/**
* 回调时的身份认证
*/
private
String
callbackToken
;
/**
* 请求调度中心的token
*/
private
String
gatewayToken
;
/**
* 调度中心主机名
*/
private
String
requestHost
;
/**
* 调度中心端口号
*/
private
String
requestPort
;
/**
* 任务参数
*/
private
String
jobParam
;
/**
* 任务类型,java,python,php,script,sql.shell
*/
private
String
jobType
;
/**
* 所属任务流的id
*/
private
String
taskFlowId
;
/**
* 上级节点
*/
private
String
parentId
;
/**
* 是否跟随任务流的时间设置?1不跟随(默认),2跟随
*/
private
String
taskFlowIsCron
;
/**
* 报警邮件
*/
private
String
alarmEmail
;
/**
* 任务的超时时间
*/
private
int
executorTimeout
;
/**
* 脚本文件地址(或远程文件服务器地址)支持多个,逗号分割
*/
private
String
sourceUrls
;
/**
* 调度状态:0-暂停,1-运行
*/
private
String
triggerStatus
;
/**
*调度任务源码
*/
private
String
glueSource
;
/**
* 源码备注
*/
private
String
glueRemark
;
/**
* 源码的修改时间
*/
private
Date
glueUpdateTime
;
/**
* 任务下次调度时间
*/
private
long
triggerNextTime
;
/**
* 任务创建者
*/
private
String
author
;
/**
* 任务节点添加时间
*/
private
Date
addTime
;
/**
* 任务节点修改时间
*/
private
Date
updateTime
;
/**
* 删除标志
*/
private
String
removalMark
;
}
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