mirror of
https://gitee.com/wangkang/udf.git
synced 2026-11-01 20:13:42 +00:00
添加是否自动实例化的属性
This commit is contained in:
@@ -51,11 +51,34 @@ public class JobDetailMeta implements Serializable {
|
||||
*/
|
||||
private Boolean durability = true;
|
||||
|
||||
/**
|
||||
* 是否自动实例化
|
||||
*/
|
||||
private Boolean autoInit = false;
|
||||
|
||||
/**
|
||||
* 描述 : 数据
|
||||
*/
|
||||
private Map<String, String> dataMap;
|
||||
|
||||
/**
|
||||
* getAutoInit
|
||||
*
|
||||
* @return Boolean
|
||||
*/
|
||||
public Boolean getAutoInit() {
|
||||
return autoInit;
|
||||
}
|
||||
|
||||
/**
|
||||
* setAutoInit
|
||||
*
|
||||
* @param autoInit autoInit
|
||||
*/
|
||||
public void setAutoInit(Boolean autoInit) {
|
||||
this.autoInit = autoInit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 描述 : 获取name
|
||||
*
|
||||
|
||||
@@ -69,11 +69,34 @@ public class TriggerMeta implements Serializable {
|
||||
*/
|
||||
private Integer misfireInstruction = Trigger.MISFIRE_INSTRUCTION_SMART_POLICY;
|
||||
|
||||
/**
|
||||
* 是否自动实例化
|
||||
*/
|
||||
private Boolean autoInit = false;
|
||||
|
||||
/**
|
||||
* 描述 : 数据
|
||||
*/
|
||||
private Map<String, String> dataMap;
|
||||
|
||||
/**
|
||||
* getAutoInit
|
||||
*
|
||||
* @return Boolean
|
||||
*/
|
||||
public Boolean getAutoInit() {
|
||||
return autoInit;
|
||||
}
|
||||
|
||||
/**
|
||||
* setAutoInit
|
||||
*
|
||||
* @param autoInit autoInit
|
||||
*/
|
||||
public void setAutoInit(Boolean autoInit) {
|
||||
this.autoInit = autoInit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 描述 : 获取misfireInstruction
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user