All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zrun.commons.job.config.properties.XxlJobProperties Maven / Gradle / Ivy

The newest version!
package com.zrun.commons.job.config.properties;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * xxljob配置类
 *
 * @author zrun
 */
@Data
@ConfigurationProperties(prefix = "xxl.job")
public class XxlJobProperties {

    private Boolean enabled;

    private String adminAddresses;

    private String accessToken;

    private Executor executor;

    @Data
    @NoArgsConstructor
    public static class Executor {

        private String appname;

        private String address;

        private String ip;

        private int port;

        private String logPath;

        private int logRetentionDays;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy