Class ProcessContextArgumentResolver

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean supportsParameter(Parameter javaParameter, KParameter kotlinParameter, OperationContext operationContext) Whether the given method parameter is supported by this resolver.
      Object resolveArgument(Parameter javaParameter, KParameter kotlinParameter, OperationContext operationContext) Resolve an action method parameter into an argument value.
      • Methods inherited from class com.embabel.agent.api.annotation.support.ActionMethodArgumentResolver

        resolveInputBinding
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessContextArgumentResolver

        ProcessContextArgumentResolver()
    • Method Detail

      • supportsParameter

         Boolean supportsParameter(Parameter javaParameter, KParameter kotlinParameter, OperationContext operationContext)

        Whether the given method parameter is supported by this resolver.

        Parameters:
        javaParameter - the Java method parameter to check
        kotlinParameter - the Kotlin method parameter to check.
        operationContext - the current operation context when invoked before resolveArgument; null when invoked before resolveInputBinding
        Returns:

        true if this resolver supports the supplied parameter; false otherwise

      • resolveArgument

         Object resolveArgument(Parameter javaParameter, KParameter kotlinParameter, OperationContext operationContext)

        Resolve an action method parameter into an argument value. An OperationContext provides access to the context of the current action.

        Parameters:
        javaParameter - the Java method parameter to check.
        kotlinParameter - the Kotlin method parameter to check.
        operationContext - the current operation context