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
Nested ClassesModifier and TypeClassDescriptionstatic classException thrown when an additional property with a null value is encountered.static final classBuild-system agnostic details of a project. -
Constructor Summary
ConstructorsConstructorDescriptionBuildPropertiesWriter(File outputFile) Creates a newBuildPropertiesWriterthat will write to the givenoutputFile. -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertiesvoidwriteBuildProperties(BuildPropertiesWriter.ProjectDetails projectDetails)
-
Constructor Details
-
BuildPropertiesWriter
Creates a newBuildPropertiesWriterthat will write to the givenoutputFile.- Parameters:
outputFile- the output file
-
-
Method Details
-
writeBuildProperties
public void writeBuildProperties(BuildPropertiesWriter.ProjectDetails projectDetails) throws IOException - Throws:
IOException
-
createBuildInfo
-