package com.lingniu.ingest.protocol.jsatl12.config;

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

/** JSATL12 主动安全附件接入配置。 */
@ConfigurationProperties(prefix = "lingniu.ingest.jsatl12")
public class Jsatl12Properties {
    private boolean enabled = false;
    private int port = 7612;
    private int workerThreads = 0;
    private int maxFrameLength = 64 * 1024;
    /** 附件落盘根目录，支持 file:// / s3:// / oss:// 形式，由 sink-archive 解析。 */
    private String fileStore = "file:///var/lingniu/alarm-files";

    public boolean isEnabled() { return enabled; }
    public void setEnabled(boolean enabled) { this.enabled = enabled; }
    public int getPort() { return port; }
    public void setPort(int port) { this.port = port; }
    public int getWorkerThreads() { return workerThreads; }
    public void setWorkerThreads(int workerThreads) { this.workerThreads = workerThreads; }
    public int getMaxFrameLength() { return maxFrameLength; }
    public void setMaxFrameLength(int maxFrameLength) { this.maxFrameLength = maxFrameLength; }
    public String getFileStore() { return fileStore; }
    public void setFileStore(String fileStore) { this.fileStore = fileStore; }
}
