io.github.hpsocket.soa.starter.job.xxljob.properties.SoaXxlJobProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hp-soa-starter-job-xxljob Show documentation
Show all versions of hp-soa-starter-job-xxljob Show documentation
hp-soa: a fully functional, easy-to-use, and highly scalable microservice framework
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;
}
}