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

cn.featherfly.hammer.config.HammerConstant Maven / Gradle / Ivy

The newest version!

package cn.featherfly.hammer.config;

import cn.featherfly.constant.annotation.Constant;
import cn.featherfly.hammer.tpl.TplConfigFactory;

/**
 * HammerConstant.
 *
 * @author zhongj
 */
public abstract class HammerConstant {

    public static final String DEFAULT_SUFFIX = ".yaml.sql";

    public static final String DEFAULT_PREFIX = "";

    @Constant(value = "TplConfig file suffix")
    private String tplConfigSuffix = DEFAULT_SUFFIX;

    @Constant(value = "TplConfig file prefix")
    private String tplConfigPrefix = DEFAULT_PREFIX;

    @Constant(value = "TplConfig file factory")
    private TplConfigFactory tplConfigFactory;

    /**
     * 返回tplConfigFactory
     *
     * @return tplConfigFactory
     */
    public TplConfigFactory getTplConfigFactory() {
        return tplConfigFactory;
    }

    /**
     * 返回tplConfigSuffix
     *
     * @return tplConfigSuffix
     */
    public String getTplConfigSuffix() {
        return tplConfigSuffix;
    }

    /**
     * 返回tplConfigPrefix
     *
     * @return tplConfigPrefix
     */
    public String getTplConfigPrefix() {
        return tplConfigPrefix;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy