Package io.github.jhipster.config
Class JHipsterProperties
- java.lang.Object
-
- io.github.jhipster.config.JHipsterProperties
-
@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 ObjectProperties specific to JHipster.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJHipsterProperties.Asyncstatic classJHipsterProperties.AuditEventsstatic classJHipsterProperties.Cachestatic classJHipsterProperties.ClientAppstatic classJHipsterProperties.Gatewaystatic classJHipsterProperties.Httpstatic classJHipsterProperties.Loggingstatic classJHipsterProperties.Mailstatic classJHipsterProperties.Metricsstatic classJHipsterProperties.Registrystatic classJHipsterProperties.Securitystatic classJHipsterProperties.Socialstatic classJHipsterProperties.Swagger
-
Constructor Summary
Constructors Constructor Description JHipsterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JHipsterProperties.AsyncgetAsync()Getter for the fieldasync.JHipsterProperties.AuditEventsgetAuditEvents()Getter for the fieldauditEvents.JHipsterProperties.CachegetCache()Getter for the fieldcache.JHipsterProperties.ClientAppgetClientApp()Getter for the fieldclientApp.org.springframework.web.cors.CorsConfigurationgetCors()Getter for the fieldcors.JHipsterProperties.GatewaygetGateway()Getter for the fieldgateway.JHipsterProperties.HttpgetHttp()Getter for the fieldhttp.JHipsterProperties.LogginggetLogging()Getter for the fieldlogging.JHipsterProperties.MailgetMail()Getter for the fieldmail.JHipsterProperties.MetricsgetMetrics()Getter for the fieldmetrics.JHipsterProperties.RegistrygetRegistry()Getter for the fieldregistry.JHipsterProperties.SecuritygetSecurity()Getter for the fieldsecurity.JHipsterProperties.SocialgetSocial()Getter for the fieldsocial.JHipsterProperties.SwaggergetSwagger()Getter for the fieldswagger.
-
-
-
Method Detail
-
getAsync
public JHipsterProperties.Async getAsync()
Getter for the field
async.- Returns:
- a
JHipsterProperties.Asyncobject.
-
getHttp
public JHipsterProperties.Http getHttp()
Getter for the field
http.- Returns:
- a
JHipsterProperties.Httpobject.
-
getCache
public JHipsterProperties.Cache getCache()
Getter for the field
cache.- Returns:
- a
JHipsterProperties.Cacheobject.
-
getMail
public JHipsterProperties.Mail getMail()
Getter for the field
mail.- Returns:
- a
JHipsterProperties.Mailobject.
-
getRegistry
public JHipsterProperties.Registry getRegistry()
Getter for the field
registry.- Returns:
- a
JHipsterProperties.Registryobject.
-
getSecurity
public JHipsterProperties.Security getSecurity()
Getter for the field
security.- Returns:
- a
JHipsterProperties.Securityobject.
-
getSwagger
public JHipsterProperties.Swagger getSwagger()
Getter for the field
swagger.- Returns:
- a
JHipsterProperties.Swaggerobject.
-
getMetrics
public JHipsterProperties.Metrics getMetrics()
Getter for the field
metrics.- Returns:
- a
JHipsterProperties.Metricsobject.
-
getLogging
public JHipsterProperties.Logging getLogging()
Getter for the field
logging.- Returns:
- a
JHipsterProperties.Loggingobject.
-
getCors
public org.springframework.web.cors.CorsConfiguration getCors()
Getter for the field
cors.- Returns:
- a
CorsConfigurationobject.
-
getSocial
public JHipsterProperties.Social getSocial()
Getter for the field
social.- Returns:
- a
JHipsterProperties.Socialobject.
-
getGateway
public JHipsterProperties.Gateway getGateway()
Getter for the field
gateway.- Returns:
- a
JHipsterProperties.Gatewayobject.
-
getClientApp
public JHipsterProperties.ClientApp getClientApp()
Getter for the field
clientApp.- Returns:
- a
JHipsterProperties.ClientAppobject.
-
getAuditEvents
public JHipsterProperties.AuditEvents getAuditEvents()
Getter for the field
auditEvents.- Returns:
- a
JHipsterProperties.AuditEventsobject.
-
-