Package org.nuxeo.ecm.core.blob
Class PropertyBasedConfiguration
java.lang.Object
org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
- Direct Known Subclasses:
AbstractBlobStoreConfiguration,AESBlobStoreConfiguration,CachingConfiguration,DigestConfiguration,LocalBlobStoreConfiguration
Basic configuration based on properties.
- Since:
- 11.1
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyBasedConfiguration(String systemPropertyPrefix, Map<String, String> properties) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanProperty(String key) Gets a boolean property.intgetIntProperty(String key) Gets an integer property, or -1 if undefined or blank.intgetIntProperty(String key, int defaultValue) Gets an integer property, or the given default if undefined or blank.longgetLongProperty(String key) Gets a long property, or -1 if undefined or blank.getProperty(String propertyName) Gets a string property.getProperty(String propertyName, String defaultValue) Gets a string property, or the given default if undefined or blank.
-
Field Details
-
systemPropertyPrefix
-
properties
-
-
Constructor Details
-
PropertyBasedConfiguration
-
-
Method Details
-
getProperty
Gets a string property. -
getProperty
Gets a string property, or the given default if undefined or blank. -
getLongProperty
Gets a long property, or -1 if undefined or blank. -
getIntProperty
Gets an integer property, or -1 if undefined or blank. -
getIntProperty
Gets an integer property, or the given default if undefined or blank.- Since:
- 2023.5
-
getBooleanProperty
Gets a boolean property.
-