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

io.github.quickmsg.common.config.AbstractConfiguration Maven / Gradle / Ivy

The newest version!
package io.github.quickmsg.common.config;

import io.github.quickmsg.common.rule.RuleChainDefinition;
import io.github.quickmsg.common.rule.RuleDefinition;
import io.github.quickmsg.common.rule.source.SourceDefinition;

import java.util.List;
import java.util.Map;

/**
 * @author luxurong
 */
public interface AbstractConfiguration extends Configuration {


    /**
     * 获取websocket端口
     *
     * @return port
     */
    Integer getWebSocketPort();

    /**
     * 获取规则引擎
     *
     * @return {@link RuleDefinition}
     */
    List getRuleChainDefinitions();


    /**
     * 获取source
     *
     * @return {@link SourceDefinition}
     */
    List getSourceDefinitions();

    /**
     * 获取acl配置
     *
     * @return {@link AclConfig}
     */
    AclConfig getAclConfig();

    /**
     * 获取环境参数
     *
     * @return {@link Map}
     */
    Map getEnvironmentMap();


    AuthConfig getAuthConfig();
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy