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
-
Constructor Summary
ConstructorDescriptionPropertyBasedConfiguration
(String systemPropertyPrefix, Map<String, String> properties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBooleanProperty
(String key) Gets a boolean property.int
getIntProperty
(String key) Gets an integer property, or -1 if undefined or blank.int
getIntProperty
(String key, int defaultValue) Gets an integer property, or the given default if undefined or blank.long
getLongProperty
(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.
-