Rule Execution Server API

com.ibm.rules.engine.util
Interface CustomProperties

All Superinterfaces:
Iterable<String>, Serializable

public interface CustomProperties
extends Serializable, Iterable<String>

CustomProperties represents the properties interface. Implement this interface to retrieve accepted values. You use the value returned to:


Method Summary
 Object get(String key)
          Returns the property with a specific name.
 Object get(String key, Object def)
          Returns the property with a specific name.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

get

Object get(String key)
Returns the property with a specific name.

Parameters:
key - The property name.
Returns:
The value of that property. If the properties list does not contain key, null is returned.

get

Object get(String key,
           Object def)
Returns the property with a specific name. If the property is not defined, the given default value is returned.

Parameters:
key - The property name.
def - The default value.
Returns:
The value of that property. If the properties list does not contain key, null is returned.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013