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
9f2c6c48
Commit
9f2c6c48
authored
Jul 06, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务回调实体类定义
parent
cea5447f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
0 deletions
+65
-0
EventCallbackDto.java
...e/src/main/java/com/byit/dto/plugin/EventCallbackDto.java
+55
-0
CallbackJobType.java
...to-core/src/main/java/com/byit/enums/CallbackJobType.java
+10
-0
No files found.
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/plugin/EventCallbackDto.java
0 → 100644
View file @
9f2c6c48
package
com
.
byit
.
dto
.
plugin
;
import
com.byit.enums.CallbackJobType
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 事件通知回调载体
* @author huangfu
* @date 2020年7月6日11:46:48
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
EventCallbackDto
implements
Serializable
{
/**
* 项目名称
*/
private
String
projectName
;
/**
* 环境名称
*/
private
String
devName
;
/**
* 租户编号
*/
private
String
tenant
;
/**
* 任务名称
*/
private
String
jobName
;
/**
* 回调任务类型
*/
private
CallbackJobType
callbackJobType
;
/**
* 任务参数
*/
private
String
param
;
/**
* 前置通知时间 加入刻度时间
*/
private
Long
jobPreTime
;
/**
* 中置通知时间 任务开始时间
*/
private
Long
jobStartTime
;
/**
* 后置通知时间 任务结束时间
*/
private
Long
jobEndTime
;
}
byit-myth-core/myth-dto-core/src/main/java/com/byit/enums/CallbackJobType.java
0 → 100644
View file @
9f2c6c48
package
com
.
byit
.
enums
;
/**
* 回调任务类型
* @author huangfu
*/
public
enum
CallbackJobType
{
JAVA
,
FLOW
}
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