Interface IPropertyService
public interface IPropertyService
Contains API for managing properties.
-
Method Summary
Modifier and TypeMethodDescriptionString[]getProperties(String path) Retrieves all properties of a given resource.getProperty(String path, String key) Method to retrieve the value of a specific property.voidremoveProperty(String path, String key) Method to delete a property.voidsetProperty(String path, String key, String value) Method to set a property.
-
Method Details
-
getProperties
Retrieves all properties of a given resource.- Parameters:
path- The resource path.- Returns:
- list of properties.
-
getProperty
Method to retrieve the value of a specific property.- Parameters:
path- The resource path.key- The property key.- Returns:
- the property value.
-
setProperty
Method to set a property.- Parameters:
path- The resource path.key- The property key.value- The property value.
-
removeProperty
Method to delete a property.- Parameters:
path- The resource path.key- The property key.
-