@ConfigurationProperties(prefix="jhipster",
ignoreUnknownFields=false)
@PropertySource(value="classpath:git.properties",ignoreResourceNotFound=true) @PropertySource(value="classpath:META-INF/build-info.properties",ignoreResourceNotFound=true)
public class JHipsterProperties
extends Object
Properties are configured in the application.yml file.
This class also load properties in the Spring Environment from the git.properties and META-INF/build-info.properties files if they are found in the classpath.
| Modifier and Type | Class and Description |
|---|---|
static class |
JHipsterProperties.Async |
static class |
JHipsterProperties.Cache |
static class |
JHipsterProperties.Gateway |
static class |
JHipsterProperties.Http |
static class |
JHipsterProperties.Logging |
static class |
JHipsterProperties.Mail |
static class |
JHipsterProperties.Metrics |
static class |
JHipsterProperties.Registry |
static class |
JHipsterProperties.Security |
static class |
JHipsterProperties.Social |
static class |
JHipsterProperties.Swagger |
| Constructor and Description |
|---|
JHipsterProperties() |
| Modifier and Type | Method and Description |
|---|---|
JHipsterProperties.Async |
getAsync() |
JHipsterProperties.Cache |
getCache() |
org.springframework.web.cors.CorsConfiguration |
getCors() |
JHipsterProperties.Gateway |
getGateway() |
JHipsterProperties.Http |
getHttp() |
JHipsterProperties.Logging |
getLogging() |
JHipsterProperties.Mail |
getMail() |
JHipsterProperties.Metrics |
getMetrics() |
JHipsterProperties.Registry |
getRegistry() |
JHipsterProperties.Security |
getSecurity() |
JHipsterProperties.Social |
getSocial() |
JHipsterProperties.Swagger |
getSwagger() |
public JHipsterProperties.Async getAsync()
public JHipsterProperties.Http getHttp()
public JHipsterProperties.Cache getCache()
public JHipsterProperties.Mail getMail()
public JHipsterProperties.Registry getRegistry()
public JHipsterProperties.Security getSecurity()
public JHipsterProperties.Swagger getSwagger()
public JHipsterProperties.Metrics getMetrics()
public JHipsterProperties.Logging getLogging()
public org.springframework.web.cors.CorsConfiguration getCors()
public JHipsterProperties.Social getSocial()
public JHipsterProperties.Gateway getGateway()
Copyright © 2019 JHipster. All rights reserved.