mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 13:03:42 +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.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<git.commit.plugin>4.9.9</git.commit.plugin>
|
<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>
|
<fastjson.version>1.2.83</fastjson.version>
|
||||||
<springdoc.version>1.6.6</springdoc.version>
|
<springdoc.version>1.6.6</springdoc.version>
|
||||||
<swagger.core.version>2.2.0</swagger.core.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 {
|
public enum ExecutorRouteStrategyEnum {
|
||||||
|
|
||||||
FIRST(I18nUtil.getString("jobconf_route_first"), new ExecutorRouteFirst()), LAST(
|
FIRST(I18nUtil.getString("jobconf_route_first"), new ExecutorRouteFirst()),
|
||||||
I18nUtil.getString("jobconf_route_last"), new ExecutorRouteLast()), ROUND(
|
LAST(I18nUtil.getString("jobconf_route_last"), new ExecutorRouteLast()),
|
||||||
I18nUtil.getString("jobconf_route_round"), new ExecutorRouteRound()), RANDOM(
|
ROUND(I18nUtil.getString("jobconf_route_round"), new ExecutorRouteRound()),
|
||||||
I18nUtil.getString("jobconf_route_random"), new ExecutorRouteRandom()), CONSISTENT_HASH(
|
RANDOM(I18nUtil.getString("jobconf_route_random"), new ExecutorRouteRandom()),
|
||||||
I18nUtil.getString("jobconf_route_consistenthash"),
|
CONSISTENT_HASH(I18nUtil.getString("jobconf_route_consistenthash"), new ExecutorRouteConsistentHash()),
|
||||||
new ExecutorRouteConsistentHash()), LEAST_FREQUENTLY_USED(
|
LEAST_FREQUENTLY_USED(I18nUtil.getString("jobconf_route_lfu"), new ExecutorRouteLFU()),
|
||||||
I18nUtil.getString("jobconf_route_lfu"),
|
LEAST_RECENTLY_USED(I18nUtil.getString("jobconf_route_lru"), new ExecutorRouteLRU()),
|
||||||
new ExecutorRouteLFU()), LEAST_RECENTLY_USED(
|
FAILOVER(I18nUtil.getString("jobconf_route_failover"), new ExecutorRouteFailover()),
|
||||||
I18nUtil.getString("jobconf_route_lru"),
|
BUSYOVER(I18nUtil.getString("jobconf_route_busyover"), new ExecutorRouteBusyover()),
|
||||||
new ExecutorRouteLRU()), FAILOVER(
|
SHARDING_BROADCAST(I18nUtil.getString("jobconf_route_shard"), null);
|
||||||
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) {
|
ExecutorRouteStrategyEnum(String title, ExecutorRouter router) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
|
@ -9,12 +9,9 @@ import com.xxl.job.admin.core.util.I18nUtil;
|
|||||||
*/
|
*/
|
||||||
public enum TriggerTypeEnum {
|
public enum TriggerTypeEnum {
|
||||||
|
|
||||||
MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")), CRON(
|
MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")), CRON(I18nUtil.getString("jobconf_trigger_type_cron")),
|
||||||
I18nUtil.getString("jobconf_trigger_type_cron")), RETRY(
|
RETRY(I18nUtil.getString("jobconf_trigger_type_retry")), PARENT(I18nUtil.getString("jobconf_trigger_type_parent")),
|
||||||
I18nUtil.getString("jobconf_trigger_type_retry")), PARENT(
|
API(I18nUtil.getString("jobconf_trigger_type_api")), MISFIRE(I18nUtil.getString("jobconf_trigger_type_misfire"));
|
||||||
I18nUtil.getString("jobconf_trigger_type_parent")), API(
|
|
||||||
I18nUtil.getString("jobconf_trigger_type_api")), MISFIRE(
|
|
||||||
I18nUtil.getString("jobconf_trigger_type_misfire"));
|
|
||||||
|
|
||||||
private TriggerTypeEnum(String title) {
|
private TriggerTypeEnum(String title) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
|
2
pom.xml
2
pom.xml
@ -50,7 +50,7 @@
|
|||||||
<docker.username>username</docker.username>
|
<docker.username>username</docker.username>
|
||||||
<docker.password>password</docker.password>
|
<docker.password>password</docker.password>
|
||||||
<git.commit.plugin>4.9.9</git.commit.plugin>
|
<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>
|
</properties>
|
||||||
|
|
||||||
<!-- 以下依赖 全局所有的模块都会引入 -->
|
<!-- 以下依赖 全局所有的模块都会引入 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user