com.dtolabs.rundeck.core.utils
Interface IPropertyLookup

All Superinterfaces:
PropertyRetriever
All Known Subinterfaces:
IFrameworkProjectMgr
All Known Implementing Classes:
FrameworkProjectMgr, PropertyLookup

public interface IPropertyLookup
extends PropertyRetriever

simple interface to lookup property data


Method Summary
 java.util.Map getPropertiesMap()
          Retrieves map of property data
 java.lang.String getProperty(java.lang.String key)
          get property value
 boolean 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 interface PropertyRetriever
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