Record Class DecideCapabilities

java.lang.Object
java.lang.Record
ai.redouble.demo.decide.DecideCapabilities
Record Components:
objective - the objective the model reads on every turn
takes - the alias of the input artifact type
answers - the alias of the artifact type the answer is a list of
tools - the palette in order

public record DecideCapabilities(String objective, String takes, String answers, List<DecideCapabilities.ToolView> tools) extends Record
What the decision agent is, for a page: its objective in words, the artifact type it starts from and the one it answers with, and its palette, each tool with what it takes and what it produces. The types are artifact aliases, the words the model's state uses.
Since:
0.1 (2026-09-24)
Author:
Andrey Santrosyan
  • Constructor Details

    • DecideCapabilities

      public DecideCapabilities(String objective, String takes, String answers, List<DecideCapabilities.ToolView> tools)
      Creates an instance of a DecideCapabilities record class.
      Parameters:
      objective - the value for the objective record component
      takes - the value for the takes record component
      answers - the value for the answers record component
      tools - the value for the tools record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • objective

      public String objective()
      Returns the value of the objective record component.
      Returns:
      the value of the objective record component
    • takes

      public String takes()
      Returns the value of the takes record component.
      Returns:
      the value of the takes record component
    • answers

      public String answers()
      Returns the value of the answers record component.
      Returns:
      the value of the answers record component
    • tools

      Returns the value of the tools record component.
      Returns:
      the value of the tools record component