Package com.dtolabs.rundeck.core.utils
Interface IPropertyLookup
-
- All Superinterfaces:
PropertyRetriever
- All Known Implementing Classes:
PropertyLookup
public interface IPropertyLookup extends PropertyRetriever
simple interface to lookup property data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.MapgetPropertiesMap()Retrieves map of property datajava.lang.StringgetProperty(java.lang.String key)get property valuebooleanhasProperty(java.lang.String key)checks if property value exists
-
-
-
Method Detail
-
getProperty
java.lang.String getProperty(java.lang.String key)
get property value- Specified by:
getPropertyin interfacePropertyRetriever- Parameters:
key- the name of the property- Returns:
- property value
-
hasProperty
boolean hasProperty(java.lang.String key)
checks if property value exists- Parameters:
key- name of the property- Returns:
- true if it exists; false otherwise
-
getPropertiesMap
java.util.Map getPropertiesMap()
Retrieves map of property data- Returns:
Mapcontaining property key/value pair- Throws:
PropertyLookupException- thrown if loaderror
-
-