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

top.lingyuzhao.diskMirror.starter.conf.properties.HandleModuleConf Maven / Gradle / Ivy

The newest version!
package top.lingyuzhao.diskMirror.starter.conf.properties;

import top.lingyuzhao.diskMirror.core.module.HandleModule;

/**
 * 处理模块配置,当接收到请求之后,处理模块会根据配置信息进行相应的处理,这对于模块的配置进行灵活控制。
 *
 * @author zhao
 */
public abstract class HandleModuleConf {

    private boolean enable = false;

    /**
     * @return 处理模块类型对应的模块对象
     */
    public abstract HandleModule getType();

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy