com.ibm.rules.engine.util

Interface CustomProperties

  • All Superinterfaces:
    java.lang.Iterable<java.lang.String>, java.io.Serializable


    public interface CustomProperties
    extends java.io.Serializable, java.lang.Iterable<java.lang.String>
    CustomProperties represents the properties interface. Implement this interface to retrieve accepted values. You use the value returned to:
    • Retrieve properties by calling Iterable.iterator().
    • Retrieve a property value by calling get(String).
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object get(java.lang.String key)
      Returns the property with a specific name.
      java.lang.Object get(java.lang.String key, java.lang.Object def)
      Returns the property with a specific name.
      • Methods inherited from interface java.lang.Iterable

        iterator
    • Method Detail

      • get

        java.lang.Object get(java.lang.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

        java.lang.Object get(java.lang.String key,
                           java.lang.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.

© Copyright IBM Corp. 1987, 2017