Class DefaultPackagesStorageConfiguration
- java.lang.Object
-
- org.apache.pulsar.packages.management.core.impl.DefaultPackagesStorageConfiguration
-
- All Implemented Interfaces:
PackagesStorageConfiguration
public class DefaultPackagesStorageConfiguration extends java.lang.Object implements PackagesStorageConfiguration
-
-
Constructor Summary
Constructors Constructor Description DefaultPackagesStorageConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.PropertiesgetProperties()Get all properties for the configuration.java.lang.StringgetProperty(java.lang.String key)Get a property with the key.voidsetProperty(java.lang.String key, java.lang.String value)Set a property with the key.voidsetProperty(java.util.Properties properties)Set a group of the property.
-
-
-
Method Detail
-
getProperty
public java.lang.String getProperty(java.lang.String key)
Description copied from interface:PackagesStorageConfigurationGet a property with the key.- Specified by:
getPropertyin interfacePackagesStorageConfiguration- Parameters:
key- property key- Returns:
- the value
-
setProperty
public void setProperty(java.lang.String key, java.lang.String value)Description copied from interface:PackagesStorageConfigurationSet a property with the key.- Specified by:
setPropertyin interfacePackagesStorageConfiguration- Parameters:
key- property keyvalue- property value
-
setProperty
public void setProperty(java.util.Properties properties)
Description copied from interface:PackagesStorageConfigurationSet a group of the property.- Specified by:
setPropertyin interfacePackagesStorageConfiguration- Parameters:
properties- a group of the property
-
getProperties
public java.util.Properties getProperties()
Description copied from interface:PackagesStorageConfigurationGet all properties for the configuration.- Specified by:
getPropertiesin interfacePackagesStorageConfiguration- Returns:
- all properties for the configuration
-
-