mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 20:54:25 +08:00
Merge pull request #660 from Hccake/patch-1
⬆️ Bump spring-javaformat from 0.0.29 to 0.0.32
This commit is contained in:
commit
4f7b2e3471
1
.springjavaformatconfig
Normal file
1
.springjavaformatconfig
Normal file
@ -0,0 +1 @@
|
||||
java-baseline=8
|
@ -22,7 +22,7 @@
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<git.commit.plugin>4.9.9</git.commit.plugin>
|
||||
<spring.checkstyle.plugin>0.0.29</spring.checkstyle.plugin>
|
||||
<spring.checkstyle.plugin>0.0.32</spring.checkstyle.plugin>
|
||||
<fastjson.version>1.2.83</fastjson.version>
|
||||
<springdoc.version>1.6.6</springdoc.version>
|
||||
<swagger.core.version>2.2.0</swagger.core.version>
|
||||
|
@ -8,22 +8,16 @@ import com.xxl.job.admin.core.util.I18nUtil;
|
||||
*/
|
||||
public enum ExecutorRouteStrategyEnum {
|
||||
|
||||
FIRST(I18nUtil.getString("jobconf_route_first"), new ExecutorRouteFirst()), LAST(
|
||||
I18nUtil.getString("jobconf_route_last"), new ExecutorRouteLast()), ROUND(
|
||||
I18nUtil.getString("jobconf_route_round"), new ExecutorRouteRound()), RANDOM(
|
||||
I18nUtil.getString("jobconf_route_random"), new ExecutorRouteRandom()), CONSISTENT_HASH(
|
||||
I18nUtil.getString("jobconf_route_consistenthash"),
|
||||
new ExecutorRouteConsistentHash()), LEAST_FREQUENTLY_USED(
|
||||
I18nUtil.getString("jobconf_route_lfu"),
|
||||
new ExecutorRouteLFU()), LEAST_RECENTLY_USED(
|
||||
I18nUtil.getString("jobconf_route_lru"),
|
||||
new ExecutorRouteLRU()), FAILOVER(
|
||||
I18nUtil.getString("jobconf_route_failover"),
|
||||
new ExecutorRouteFailover()), BUSYOVER(
|
||||
I18nUtil.getString("jobconf_route_busyover"),
|
||||
new ExecutorRouteBusyover()), SHARDING_BROADCAST(
|
||||
I18nUtil.getString("jobconf_route_shard"),
|
||||
null);
|
||||
FIRST(I18nUtil.getString("jobconf_route_first"), new ExecutorRouteFirst()),
|
||||
LAST(I18nUtil.getString("jobconf_route_last"), new ExecutorRouteLast()),
|
||||
ROUND(I18nUtil.getString("jobconf_route_round"), new ExecutorRouteRound()),
|
||||
RANDOM(I18nUtil.getString("jobconf_route_random"), new ExecutorRouteRandom()),
|
||||
CONSISTENT_HASH(I18nUtil.getString("jobconf_route_consistenthash"), new ExecutorRouteConsistentHash()),
|
||||
LEAST_FREQUENTLY_USED(I18nUtil.getString("jobconf_route_lfu"), new ExecutorRouteLFU()),
|
||||
LEAST_RECENTLY_USED(I18nUtil.getString("jobconf_route_lru"), new ExecutorRouteLRU()),
|
||||
FAILOVER(I18nUtil.getString("jobconf_route_failover"), new ExecutorRouteFailover()),
|
||||
BUSYOVER(I18nUtil.getString("jobconf_route_busyover"), new ExecutorRouteBusyover()),
|
||||
SHARDING_BROADCAST(I18nUtil.getString("jobconf_route_shard"), null);
|
||||
|
||||
ExecutorRouteStrategyEnum(String title, ExecutorRouter router) {
|
||||
this.title = title;
|
||||
|
@ -9,12 +9,9 @@ import com.xxl.job.admin.core.util.I18nUtil;
|
||||
*/
|
||||
public enum TriggerTypeEnum {
|
||||
|
||||
MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")), CRON(
|
||||
I18nUtil.getString("jobconf_trigger_type_cron")), RETRY(
|
||||
I18nUtil.getString("jobconf_trigger_type_retry")), PARENT(
|
||||
I18nUtil.getString("jobconf_trigger_type_parent")), API(
|
||||
I18nUtil.getString("jobconf_trigger_type_api")), MISFIRE(
|
||||
I18nUtil.getString("jobconf_trigger_type_misfire"));
|
||||
MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")), CRON(I18nUtil.getString("jobconf_trigger_type_cron")),
|
||||
RETRY(I18nUtil.getString("jobconf_trigger_type_retry")), PARENT(I18nUtil.getString("jobconf_trigger_type_parent")),
|
||||
API(I18nUtil.getString("jobconf_trigger_type_api")), MISFIRE(I18nUtil.getString("jobconf_trigger_type_misfire"));
|
||||
|
||||
private TriggerTypeEnum(String title) {
|
||||
this.title = title;
|
||||
|
2
pom.xml
2
pom.xml
@ -50,7 +50,7 @@
|
||||
<docker.username>username</docker.username>
|
||||
<docker.password>password</docker.password>
|
||||
<git.commit.plugin>4.9.9</git.commit.plugin>
|
||||
<spring.checkstyle.plugin>0.0.29</spring.checkstyle.plugin>
|
||||
<spring.checkstyle.plugin>0.0.32</spring.checkstyle.plugin>
|
||||
</properties>
|
||||
|
||||
<!-- 以下依赖 全局所有的模块都会引入 -->
|
||||
|
Loading…
Reference in New Issue
Block a user