DecisionContext
Stay organized with collections
Save and categorize content based on your preferences.
Structured context wrapper for evaluating multiple questions or key-value state with DecisionMaker.
Inherited Methods
From class
java.lang.Object
| boolean |
|
| final Class<?> |
getClass()
|
| int |
hashCode()
|
| final void |
notify()
|
| final void |
notifyAll()
|
| String |
toString()
|
| final void |
wait(long arg0, int arg1)
|
| final void |
wait(long arg0)
|
| final void |
wait()
|
Public Constructors
public
DecisionContext
(String text, Map<String, String> metadata)
Creates a DecisionContext with input text and optional key-value metadata.
Public Methods
public String
getText
()
Returns the primary input text to evaluate.
Returns the supplementary key-value attributes.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],[]]