Class SubProcessCallResult


  • public class SubProcessCallResult
    extends Object
    Provide the result of the callable sub process that was executed
    Since:
    9.2
    API:
    This is a public API.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Map<String,​Object> asMap()
      Gets the names and values of all parameters as a map
      <T> T firstParam()
      Gets the value of the first result parameter
      <T> T firstParam​(Class<T> type)
      Gets the value of the first result parameter
      <T> T param​(String name)
      Gets the value of the result parameter with the given name
      <T> T param​(String name, Class<T> type)
      Gets the value of the result parameter with the given name
    • Method Detail

      • param

        public <T> T param​(String name)
        Gets the value of the result parameter with the given name
        Type Parameters:
        T - type of the parameter
        Parameters:
        name - name of the parameter
        Returns:
        parameter value. Can be null.
        API:
        This public API is available in Java.
      • param

        public <T> T param​(String name,
                           Class<T> type)
        Gets the value of the result parameter with the given name
        Type Parameters:
        T - type of the parameter
        Parameters:
        name - name of the parameter
        type - the type of the parameter
        Returns:
        parameter value. Can be null.
        API:
        This public API is available in Java.
      • firstParam

        public <T> T firstParam()
        Gets the value of the first result parameter
        Type Parameters:
        T - type of the parameter
        Returns:
        parameter value of the first parameter. Can be null.
        API:
        This public API is available in Java.
      • firstParam

        public <T> T firstParam​(Class<T> type)
        Gets the value of the first result parameter
        Type Parameters:
        T - type of the parameter
        Parameters:
        type - the type of the parameter
        Returns:
        parameter value of the first parameter. Can be null.
        API:
        This public API is available in Java.
      • asMap

        public Map<String,​Object> asMap()
        Gets the names and values of all parameters as a map
        Returns:
        Map with parameter names and values
        API:
        This public API is available in Java.