クラス ProjectInfoAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(ProjectInfoProperties.class)
public class ProjectInfoAutoConfiguration
extends ObjectSE
さまざまなプロジェクト情報の
Auto-configuration
。- 導入:
- 1.4.0
- 作成者:
- Stephane Nicoll, Madhura Bhave
コンストラクターのサマリー
方法の概要
コンストラクターの詳細
ProjectInfoAutoConfiguration
メソッドの詳細
gitProperties
@Conditional(org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration.GitResourceAvailableCondition.class) @ConditionalOnMissingBean @Bean public GitProperties gitProperties() throws ExceptionSE- 例外:
ExceptionSE
buildProperties
@ConditionalOnResource(resources="${spring.info.build.location:classpath:META-INF/build-info.properties}") @ConditionalOnMissingBean @Bean public BuildProperties buildProperties() throws ExceptionSE- 例外:
ExceptionSE
loadFrom
protected PropertiesSE loadFrom(Resource location, StringSE prefix, CharsetSE encoding) throws IOExceptionSE