Package pl.project13.core
Class PropertiesFileGenerator
java.lang.Object
pl.project13.core.PropertiesFileGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesFileGenerator(LogInterface log, BuildFileChangeListener buildFileChangeListener, CommitIdPropertiesOutputFormat propertiesOutputFormat, String prefixDot, String projectName) -
Method Summary
Modifier and TypeMethodDescriptionstatic FilecraftPropertiesOutputFile(File projectDir, File propsFile) Used for up-to-date checks in maven pluginstatic nu.studer.java.util.OrderedPropertiesvoidmaybeGeneratePropertiesFile(Properties localProperties, File projectDir, File propsFile, Charset sourceCharset, boolean escapeUnicode)
-
Constructor Details
-
PropertiesFileGenerator
public PropertiesFileGenerator(LogInterface log, BuildFileChangeListener buildFileChangeListener, CommitIdPropertiesOutputFormat propertiesOutputFormat, String prefixDot, String projectName)
-
-
Method Details
-
maybeGeneratePropertiesFile
public void maybeGeneratePropertiesFile(@Nonnull Properties localProperties, File projectDir, File propsFile, Charset sourceCharset, boolean escapeUnicode) throws GitCommitIdExecutionException - Throws:
GitCommitIdExecutionException
-
createOrderedProperties
public static nu.studer.java.util.OrderedProperties createOrderedProperties() -
craftPropertiesOutputFile
Used for up-to-date checks in maven plugin
-