@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=ProjectInfoProperties.class) public class ProjectInfoAutoConfiguration extends ObjectSE
Auto-configuration
。コンストラクターと説明 |
---|
ProjectInfoAutoConfiguration(ProjectInfoProperties properties) |
修飾子と型 | メソッドと説明 |
---|---|
BuildProperties | buildProperties() |
GitProperties | gitProperties() |
protected PropertiesSE | loadFrom(Resource location, StringSE prefix, CharsetSE encoding) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ProjectInfoAutoConfiguration(ProjectInfoProperties properties)
@Conditional(value=org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration.GitResourceAvailableCondition.class) @ConditionalOnMissingBean @Bean public GitProperties gitProperties() throws ExceptionSE
ExceptionSE
@ConditionalOnResource(resources="${spring.info.build.location:classpath:META-INF/build-info.properties}") @ConditionalOnMissingBean @Bean public BuildProperties buildProperties() throws ExceptionSE
ExceptionSE
protected PropertiesSE loadFrom(Resource location, StringSE prefix, CharsetSE encoding) throws IOExceptionSE