|
@@ -46,17 +46,17 @@
|
|
|
</div>
|
|
|
<div class="col-xs-2">
|
|
|
<div class="input-group">
|
|
|
- <input type="text" class="form-control" id="jobDesc" autocomplete="on" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_jobdesc}" >
|
|
|
+ <input type="text" class="form-control" id="jobDesc" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_jobdesc}" >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="col-xs-2">
|
|
|
<div class="input-group">
|
|
|
- <input type="text" class="form-control" id="executorHandler" autocomplete="on" placeholder="${I18n.system_please_input}JobHandler" >
|
|
|
+ <input type="text" class="form-control" id="executorHandler" placeholder="${I18n.system_please_input}JobHandler" >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="col-xs-2">
|
|
|
<div class="input-group">
|
|
|
- <input type="text" class="form-control" id="author" autocomplete="on" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" >
|
|
|
+ <input type="text" class="form-control" id="author" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="col-xs-1">
|
|
@@ -80,9 +80,9 @@
|
|
|
<th name="id" >${I18n.jobinfo_field_id}</th>
|
|
|
<th name="jobGroup" >${I18n.jobinfo_field_jobgroup}</th>
|
|
|
<th name="jobDesc" >${I18n.jobinfo_field_jobdesc}</th>
|
|
|
+ <th name="scheduleType" >${I18n.schedule_type}</th>
|
|
|
<th name="glueType" >${I18n.jobinfo_field_gluetype}</th>
|
|
|
- <th name="executorParam" >${I18n.jobinfo_field_executorparam}</th>
|
|
|
- <th name="jobCron" >Cron</th>
|
|
|
+ <th name="executorParam" >${I18n.jobinfo_field_executorparam}</th>
|
|
|
<th name="addTime" >addTime</th>
|
|
|
<th name="updateTime" >updateTime</th>
|
|
|
<th name="author" >${I18n.jobinfo_field_author}</th>
|
|
@@ -114,6 +114,8 @@
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
+
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_base}</p> <#-- 基础信息 -->
|
|
|
<div class="form-group">
|
|
|
<label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_jobgroup}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
@@ -123,35 +125,97 @@
|
|
|
</#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
+
|
|
|
<label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_jobdesc}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_jobdesc}" maxlength="50" ></div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorRouteStrategy}<font color="red">*</font></label>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_author}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" maxlength="50" ></div>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_alarmemail}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="${I18n.jobinfo_field_alarmemail_placeholder}" maxlength="100" ></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_schedule}</p> <#-- 调度 -->
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.schedule_type}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
- <select class="form-control" name="executorRouteStrategy" >
|
|
|
- <#list ExecutorRouteStrategyEnum as item>
|
|
|
- <option value="${item}" >${item.title}</option>
|
|
|
- </#list>
|
|
|
+ <select class="form-control scheduleType" name="scheduleType" >
|
|
|
+ <#list ScheduleTypeEnum as item>
|
|
|
+ <option value="${item}" <#if 'CRON' == item >selected</#if> >${item.title}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="${I18n.system_please_input}Cron" maxlength="128" ></div>
|
|
|
+
|
|
|
+ <input type="hidden" name="scheduleConf" />
|
|
|
+ <div class="schedule_conf schedule_conf_NONE" style="display: none" >
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_CRON" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_CRON" placeholder="${I18n.system_please_input}Cron" maxlength="128" ></div>
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_FIX_RATE" style="display: none" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.schedule_type_fix_rate}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_FIX_RATE" placeholder="${I18n.system_please_input} ( Second )" maxlength="10" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_FIX_DELAY" style="display: none" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.schedule_type_fix_delay}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_FIX_DELAY" placeholder="${I18n.system_please_input} ( Second )" maxlength="10" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_job}</p> <#-- 任务配置 -->
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
<label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_gluetype}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
<select class="form-control glueType" name="glueType" >
|
|
|
- <#list GlueTypeEnum as item>
|
|
|
- <option value="${item}" >${item.desc}</option>
|
|
|
- </#list>
|
|
|
+ <#list GlueTypeEnum as item>
|
|
|
+ <option value="${item}" >${item.desc}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
<label for="firstname" class="col-sm-2 control-label">JobHandler<font color="red">*</font></label>
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="${I18n.system_please_input}JobHandler" maxlength="100" ></div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorBlockStrategy}<font color="red">*</font></label>
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorparam}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-10">
|
|
|
+ <textarea class="textarea form-control" name="executorParam" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_executorparam}" maxlength="512" style="height: 63px; line-height: 1.2;"></textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_advanced}</p> <#-- 高级配置 -->
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorRouteStrategy}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4">
|
|
|
+ <select class="form-control" name="executorRouteStrategy" >
|
|
|
+ <#list ExecutorRouteStrategyEnum as item>
|
|
|
+ <option value="${item}" >${item.title}</option>
|
|
|
+ </#list>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_childJobId}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="childJobId" placeholder="${I18n.jobinfo_field_childJobId_placeholder}" maxlength="100" ></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.misfire_strategy}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4">
|
|
|
+ <select class="form-control" name="misfireStrategy" >
|
|
|
+ <#list MisfireStrategyEnum as item>
|
|
|
+ <option value="${item}" <#if 'DO_NOTHING' == item >selected</#if> >${item.title}</option>
|
|
|
+ </#list>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorBlockStrategy}<font color="black">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
<select class="form-control" name="executorBlockStrategy" >
|
|
|
<#list ExecutorBlockStrategyEnum as item>
|
|
@@ -159,26 +223,13 @@
|
|
|
</#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_childJobId}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="childJobId" placeholder="${I18n.jobinfo_field_childJobId_placeholder}" maxlength="100" ></div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
<label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_timeout}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="executorTimeout" placeholder="${I18n.jobinfo_field_executorTimeout_placeholder}" maxlength="6" ></div>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="executorTimeout" placeholder="${I18n.jobinfo_field_executorTimeout_placeholder}" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
<label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorFailRetryCount}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="executorFailRetryCount" placeholder="${I18n.jobinfo_field_executorFailRetryCount_placeholder}" maxlength="4" ></div>
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_author}<font color="red">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" maxlength="50" ></div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_alarmemail}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="${I18n.jobinfo_field_alarmemail_placeholder}" maxlength="100" ></div>
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorparam}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-10">
|
|
|
- <textarea class="textarea form-control" name="executorParam" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_executorparam}" maxlength="512" style="height: 63px; line-height: 1.2;"></textarea>
|
|
|
- </div>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="executorFailRetryCount" placeholder="${I18n.jobinfo_field_executorFailRetryCount_placeholder}" maxlength="4" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
</div>
|
|
|
|
|
|
<hr>
|
|
@@ -194,16 +245,14 @@
|
|
|
<textarea class="glueSource_java" style="display:none;" >
|
|
|
package com.xxl.job.service.handler;
|
|
|
|
|
|
-import com.xxl.job.core.log.XxlJobLogger;
|
|
|
-import com.xxl.job.core.biz.model.ReturnT;
|
|
|
+import com.xxl.job.core.context.XxlJobHelper;
|
|
|
import com.xxl.job.core.handler.IJobHandler;
|
|
|
|
|
|
public class DemoGlueJobHandler extends IJobHandler {
|
|
|
|
|
|
@Override
|
|
|
- public ReturnT<String> execute(String param) throws Exception {
|
|
|
- XxlJobLogger.log("XXL-JOB, Hello World.");
|
|
|
- return ReturnT.SUCCESS;
|
|
|
+ public void execute() throws Exception {
|
|
|
+ XxlJobHelper.log("XXL-JOB, Hello World.");
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -310,71 +359,122 @@ exit 0
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<form class="form-horizontal form" role="form" >
|
|
|
- <div class="form-group">
|
|
|
+
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_base}</p> <#-- 基础信息 -->
|
|
|
+ <div class="form-group">
|
|
|
<label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_jobgroup}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
<select class="form-control" name="jobGroup" >
|
|
|
- <#list JobGroupList as group>
|
|
|
- <option value="${group.id}" >${group.title}</option>
|
|
|
- </#list>
|
|
|
+ <#list JobGroupList as group>
|
|
|
+ <option value="${group.id}" >${group.title}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
+
|
|
|
<label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_jobdesc}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="jobDesc" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_jobdesc}" maxlength="50" ></div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorRouteStrategy}<font color="red">*</font></label>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_author}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" maxlength="50" ></div>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_alarmemail}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="${I18n.jobinfo_field_alarmemail_placeholder}" maxlength="100" ></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_schedule}</p> <#-- 调度配置 -->
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.schedule_type}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
- <select class="form-control" name="executorRouteStrategy" >
|
|
|
- <#list ExecutorRouteStrategyEnum as item>
|
|
|
- <option value="${item}" >${item.title}</option>
|
|
|
- </#list>
|
|
|
+ <select class="form-control scheduleType" name="scheduleType" >
|
|
|
+ <#list ScheduleTypeEnum as item>
|
|
|
+ <option value="${item}" >${item.title}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="jobCron" placeholder="${I18n.system_please_input}Cron" maxlength="128" ></div>
|
|
|
+
|
|
|
+ <input type="hidden" name="scheduleConf" />
|
|
|
+ <div class="schedule_conf schedule_conf_NONE" style="display: none" >
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_CRON" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">Cron<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_CRON" placeholder="${I18n.system_please_input}Cron" maxlength="128" ></div>
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_FIX_RATE" style="display: none" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.schedule_type_fix_rate}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_FIX_RATE" placeholder="${I18n.system_please_input} ( Second )" maxlength="10" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
+ </div>
|
|
|
+ <div class="schedule_conf schedule_conf_FIX_DELAY" style="display: none" >
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.schedule_type_fix_delay}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="schedule_conf_FIX_DELAY" placeholder="${I18n.system_please_input} ( Second )" maxlength="10" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_job}</p> <#-- 任务配置 -->
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
<label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_gluetype}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
<select class="form-control glueType" name="glueType" disabled >
|
|
|
- <#list GlueTypeEnum as item>
|
|
|
- <option value="${item}" >${item.desc}</option>
|
|
|
- </#list>
|
|
|
+ <#list GlueTypeEnum as item>
|
|
|
+ <option value="${item}" >${item.desc}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
<label for="firstname" class="col-sm-2 control-label">JobHandler<font color="red">*</font></label>
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="executorHandler" placeholder="${I18n.system_please_input}JobHandler" maxlength="100" ></div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorBlockStrategy}<font color="red">*</font></label>
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorparam}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-10">
|
|
|
+ <textarea class="textarea form-control" name="executorParam" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_executorparam}" maxlength="512" style="height: 63px; line-height: 1.2;"></textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p style="margin: 0 0 10px;text-align: left;border-bottom: 1px solid #e5e5e5;color: gray;">${I18n.jobinfo_conf_advanced}</p> <#-- 高级配置 -->
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorRouteStrategy}<font color="red">*</font></label>
|
|
|
<div class="col-sm-4">
|
|
|
- <select class="form-control" name="executorBlockStrategy" >
|
|
|
- <#list ExecutorBlockStrategyEnum as item>
|
|
|
- <option value="${item}" >${item.title}</option>
|
|
|
- </#list>
|
|
|
+ <select class="form-control" name="executorRouteStrategy" >
|
|
|
+ <#list ExecutorRouteStrategyEnum as item>
|
|
|
+ <option value="${item}" >${item.title}</option>
|
|
|
+ </#list>
|
|
|
</select>
|
|
|
</div>
|
|
|
+
|
|
|
<label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_childJobId}<font color="black">*</font></label>
|
|
|
<div class="col-sm-4"><input type="text" class="form-control" name="childJobId" placeholder="${I18n.jobinfo_field_childJobId_placeholder}" maxlength="100" ></div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_timeout}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="executorTimeout" placeholder="${I18n.jobinfo_field_executorTimeout_placeholder}" maxlength="6" ></div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorFailRetryCount}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="executorFailRetryCount" placeholder="${I18n.jobinfo_field_executorFailRetryCount_placeholder}" maxlength="4" ></div>
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_author}<font color="red">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="author" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_author}" maxlength="50" ></div>
|
|
|
- <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_alarmemail}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-4"><input type="text" class="form-control" name="alarmEmail" placeholder="${I18n.jobinfo_field_alarmemail_placeholder}" maxlength="100" ></div>
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.misfire_strategy}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4">
|
|
|
+ <select class="form-control" name="misfireStrategy" >
|
|
|
+ <#list MisfireStrategyEnum as item>
|
|
|
+ <option value="${item}" <#if 'DO_NOTHING' == item >selected</#if> >${item.title}</option>
|
|
|
+ </#list>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorBlockStrategy}<font color="red">*</font></label>
|
|
|
+ <div class="col-sm-4">
|
|
|
+ <select class="form-control" name="executorBlockStrategy" >
|
|
|
+ <#list ExecutorBlockStrategyEnum as item>
|
|
|
+ <option value="${item}" >${item.title}</option>
|
|
|
+ </#list>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
- <label for="firstname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorparam}<font color="black">*</font></label>
|
|
|
- <div class="col-sm-10">
|
|
|
- <textarea class="textarea form-control" name="executorParam" placeholder="${I18n.system_please_input}${I18n.jobinfo_field_executorparam}" maxlength="512" style="height: 63px; line-height: 1.2;"></textarea>
|
|
|
- </div>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_timeout}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="executorTimeout" placeholder="${I18n.jobinfo_field_executorTimeout_placeholder}" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
+ <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_field_executorFailRetryCount}<font color="black">*</font></label>
|
|
|
+ <div class="col-sm-4"><input type="text" class="form-control" name="executorFailRetryCount" placeholder="${I18n.jobinfo_field_executorFailRetryCount_placeholder}" maxlength="4" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ></div>
|
|
|
</div>
|
|
|
|
|
|
<hr>
|