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

org.zodiac.xxljob.config.XxlJobConfig Maven / Gradle / Ivy

package org.zodiac.xxljob.config;

public class XxlJobConfig {

    private boolean enabled = false;

    private String adminAddresses;

    private String appname;

    private String ip;

    private int port;

    private String accessToken;

    private String logPath;

    private int logRetentionDays;

    public XxlJobConfig() {}

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getAdminAddresses() {
        return adminAddresses;
    }

    public void setAdminAddresses(String adminAddresses) {
        this.adminAddresses = adminAddresses;
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getLogPath() {
        return logPath;
    }

    public void setLogPath(String logPath) {
        this.logPath = logPath;
    }

    public int getLogRetentionDays() {
        return logRetentionDays;
    }

    public void setLogRetentionDays(int logRetentionDays) {
        this.logRetentionDays = logRetentionDays;
    }

    @Override
    public String toString() {
        return "XxlJobConfig [enabled=" + enabled + ", adminAddresses=" + adminAddresses + ", appname=" + appname
            + ", ip=" + ip + ", port=" + port + ", accessToken=" + accessToken + ", logPath=" + logPath
            + ", logRetentionDays=" + logRetentionDays + "]";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy