Record Class PromptAssist.Option.DrillIn
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.ai.embed.PromptAssist.Option.DrillIn
- Record Components:
nextQuery- the new query string the framework will issue to every assist after the rewrite. Implementations decide their own separator and shape; the framework does not parsenextQuery.
- All Implemented Interfaces:
PromptAssist.Option
- Enclosing interface:
PromptAssist.Option
public static record PromptAssist.Option.DrillIn(String label, @Nullable String detail, String nextQuery)
extends Record
implements PromptAssist.Option
A "folder-like" row: selecting it rewrites the trigger span to
nextQuery and asks
every assist for fresh options. The popup stays open.-
Nested Class Summary
Nested classes/interfaces inherited from interface PromptAssist.Option
PromptAssist.Option.DrillIn, PromptAssist.Option.Insert, PromptAssist.Option.InsertOrDrillIn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.Returns the value of thenextQueryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DrillIn
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
label
Returns the value of thelabelrecord component.- Specified by:
labelin interfacePromptAssist.Option- Returns:
- the value of the
labelrecord component
-
detail
Returns the value of thedetailrecord component.- Specified by:
detailin interfacePromptAssist.Option- Returns:
- the value of the
detailrecord component
-
nextQuery
-