Interface IPropertyService
-
public interface IPropertyServiceContains API for managing properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getProperties(String path)Retrieves all properties of a given resource.StringgetProperty(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 Detail
-
getProperties
String[] getProperties(String path)
Retrieves all properties of a given resource.- Parameters:
path- The resource path.- Returns:
- list of properties.
-
getProperty
String getProperty(String path, String key)
Method to retrieve the value of a specific property.- Parameters:
path- The resource path.key- The property key.- Returns:
- the property value.
-
setProperty
void setProperty(String path, String key, String value)
Method to set a property.- Parameters:
path- The resource path.key- The property key.value- The property value.
-
-