Class CompletionContext

java.lang.Object
org.apache.juneau.bean.mcp.v20260728.CompletionContext

@Marshalled public class CompletionContext extends Object
Optional already-resolved argument values supplied alongside a completion/complete request.
  • Constructor Details

  • Method Details

    • getArguments

      Already-resolved argument values keyed by argument name.
      Returns:
      The arguments map, or null if not set.
    • setArguments

      Sets the resolved argument values.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • putArgument

      public CompletionContext putArgument(String name, String value)
      Convenience method to add a single resolved argument value.
      Parameters:
      name - The argument name. Can be null (LinkedHashMap tolerates a null key).
      value - The argument value. Can be null (stored as null).
      Returns:
      This object (for method chaining).