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

src.main.java.com.vincomobile.fw.basic.FWRuntimeEnvironmentConfig Maven / Gradle / Ivy

There is a newer version: 5.1.0-RELEASE
Show newest version
package com.vincomobile.fw.basic;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class FWRuntimeEnvironmentConfig implements IRuntimeEnvironmentConfig {

    private String enviroment;
    private String excludeProcess;
    private Boolean excludeQuartz;


    @Override
    public String getEnvironment() {
        return enviroment;
    }

    @Override
    @Value("${runtime.environment}")
    public void setEnvironment(String enviroment) {
        this.enviroment = enviroment;
    }

    @Override
    public String getExcludeProcess() {
        return excludeProcess;
    }

    @Override
    @Value("${runtime.exclude.process}")
    public void setExcludeProcess(String excludeProcess) {
        this.excludeProcess = excludeProcess;
    }

    @Override
    public Boolean getExcludeQuartz() {
        return excludeQuartz;
    }

    @Override
    @Value("${runtime.exclude.quartz}")
    public void setExcludeQuartz(Boolean excludeQuartz) {
        this.excludeQuartz = excludeQuartz;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy