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.Map
getPropertiesMap()
Retrieves map of property datajava.lang.String
getProperty(java.lang.String key)
get property valueboolean
hasProperty(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:
getProperty
in 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:
Map
containing property key/value pair- Throws:
PropertyLookupException
- thrown if loaderror
-
-