Interface IncomingBindings


  • public interface IncomingBindings

    This interface provides typed key-value-pair mappings for the incoming message process.

    Since:
    10.0.138
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getString​(java.lang.String key)
      Returns the string value to which the specified key is mapped, or null if this map contains no mapping for the key.
      java.lang.Object remove​(java.lang.String key)
      Removes the mapping for a key if it is present
      IncomingBindings setString​(java.lang.String key, java.lang.String value)  
    • Method Detail

      • getString

        java.lang.String getString​(java.lang.String key)
        Returns the string value to which the specified key is mapped, or null if this map contains no mapping for the key.
        Parameters:
        key - the key whose associated string value is to be returned
        Returns:
        the value to which the specified key is mapped, or null if this map contains no mapping for the key
        Throws:
        java.lang.ClassCastException - if the key not is of type string
        Since:
        10.0.138
      • setString

        IncomingBindings setString​(java.lang.String key,
                                   java.lang.String value)
        Parameters:
        key - key with which the specified value is to be associated
        value - string value to be associated with the specified key
        Returns:
        this
        Throws:
        java.lang.ClassCastException - if the class of the specified key or value prevents it from being stored.
        Since:
        10.0.138
      • remove

        java.lang.Object remove​(java.lang.String key)
        Removes the mapping for a key if it is present
        Parameters:
        key - key whose mapping is to be removed from the map
        Returns:
        the previous value associated with key, or null if there was no mapping for key.
        Since:
        10.0.138