类 BuildPropertiesWriter
java.lang.Object
org.springframework.boot.loader.tools.BuildPropertiesWriter
A
BuildPropertiesWriter
writes the build-info.properties
for
consumption by the Actuator.- 从以下版本开始:
- 1.0.0
- 作者:
- Andy Wilkinson, Stephane Nicoll, Vedran Pavic
-
嵌套类概要
嵌套类修饰符和类型类说明static class
Exception thrown when an additional property with a null value is encountered.static final class
Build-system agnostic details of a project. -
构造器概要
构造器构造器说明BuildPropertiesWriter
(File outputFile) Creates a newBuildPropertiesWriter
that will write to the givenoutputFile
. -
方法概要
修饰符和类型方法说明protected Properties
void
writeBuildProperties
(BuildPropertiesWriter.ProjectDetails projectDetails)
-
构造器详细资料
-
BuildPropertiesWriter
Creates a newBuildPropertiesWriter
that will write to the givenoutputFile
.- 参数:
outputFile
- the output file
-
-
方法详细资料
-
writeBuildProperties
public void writeBuildProperties(BuildPropertiesWriter.ProjectDetails projectDetails) throws IOException - 抛出:
IOException
-
createBuildInfo
-