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

io.github.hpsocket.soa.starter.job.xxljob.properties.SoaXxlJobProperties Maven / Gradle / Ivy

There is a newer version: 1.1.4
Show newest version
package io.github.hpsocket.soa.starter.job.xxljob.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;

/** HP-SOA XxlJob 属性 */
@Getter
@Setter
@ConfigurationProperties(prefix = "hp.soa.job.xxl")
public class SoaXxlJobProperties
{
    private boolean enabled = true;

    Admin admin = new Admin();
    Executor executor = new Executor();
    
    @Getter
    @Setter
    public static class Admin
    {
        private String addresses;        
        private String accessToken;
    }
    
    @Getter
    @Setter
    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