Package ch.mobi.mobitor.service.config
Class MobitorApplicationConfiguration
- java.lang.Object
-
- ch.mobi.mobitor.service.config.MobitorApplicationConfiguration
-
@Component @ConfigurationProperties(prefix="mobitor") public class MobitorApplicationConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description MobitorApplicationConfiguration(org.springframework.core.env.Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActiveProfiles()ch.mobi.mobitor.config.EnvironmentNetworkgetNetwork()StringgetSpringBootVersion()StringgetVersion()voidlogValues()voidsetNetwork(ch.mobi.mobitor.config.EnvironmentNetwork network)voidsetVersion(String version)
-
-
-
Method Detail
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getNetwork
public ch.mobi.mobitor.config.EnvironmentNetwork getNetwork()
-
setNetwork
public void setNetwork(ch.mobi.mobitor.config.EnvironmentNetwork network)
-
logValues
@PostConstruct public void logValues()
-
getActiveProfiles
public String getActiveProfiles()
-
getSpringBootVersion
public String getSpringBootVersion()
-
-