Class BuildPropertiesWriter
java.lang.Object
org.springframework.boot.loader.tools.BuildPropertiesWriter
A
BuildPropertiesWriter
writes the build-info.properties
for
consumption by the Actuator.- Since:
- 1.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll, Vedran Pavic
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Exception thrown when an additional property with a null value is encountered.static final class
Build-system agnostic details of a project. -
Constructor Summary
ConstructorDescriptionBuildPropertiesWriter
(File outputFile) Creates a newBuildPropertiesWriter
that will write to the givenoutputFile
. -
Method Summary
Modifier and TypeMethodDescriptionprotected Properties
void
writeBuildProperties
(BuildPropertiesWriter.ProjectDetails projectDetails)
-
Constructor Details
-
BuildPropertiesWriter
Creates a newBuildPropertiesWriter
that will write to the givenoutputFile
.- Parameters:
outputFile
- the output file
-
-
Method Details
-
writeBuildProperties
public void writeBuildProperties(BuildPropertiesWriter.ProjectDetails projectDetails) throws IOException - Throws:
IOException
-
createBuildInfo
-