Package io.datarouter.storage.config
Class ComputedPropertiesFinder
java.lang.Object
io.datarouter.storage.config.ComputedPropertiesFinder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindConfigFileLocation(String filename, boolean fileRequired) findProperty(String propertyName) findProperty(String propertyName, Supplier<String> defaultValue) findProperty(String propertyName, Supplier<String> defaultValueSupplier, String defaultSource) findProperty(String propertyName, List<ComputedPropertiesFinder.FallbackPropertyValueSupplierDto> defaultValueSupplierDtos) findPropertyStringsSplitWithComma(String propertyName) validateConfigDirectory(String configDirectory, boolean directoryRequired, boolean directoryFromJvmArg)
-
Field Details
-
JVM_ARG_PREFIX
- See Also:
-
SERVER_CONFIG_FILE_NAME
- See Also:
-
-
Constructor Details
-
ComputedPropertiesFinder
public ComputedPropertiesFinder()
-
-
Method Details
-
validateConfigDirectory
-
findConfigFileLocation
-
findProperty
-
findProperty
-
findProperty
-
findProperty
public String findProperty(String propertyName, List<ComputedPropertiesFinder.FallbackPropertyValueSupplierDto> defaultValueSupplierDtos) -
findPropertyStringsSplitWithComma
-