Record Class RegisteredTeam
java.lang.Object
java.lang.Record
ai.agentscentral.core.agentic.executor.register.RegisteredTeam
- Record Components:
team-partOf-executor-
- All Implemented Interfaces:
RegisteredAgentic
public record RegisteredTeam(Team team, Team partOf, AgenticExecutor<? extends Agentic> executor)
extends Record
implements RegisteredAgentic
RegisteredTeam
- Author:
- Rizwan Idrees
-
Constructor Summary
ConstructorsConstructorDescriptionRegisteredTeam(Team team, Team partOf, AgenticExecutor<? extends Agentic> executor) Creates an instance of aRegisteredTeamrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.AgenticExecutor<? extends Agentic> executor()Returns the value of theexecutorrecord component.final inthashCode()Returns a hash code value for this object.partOf()Returns the value of thepartOfrecord component.team()Returns the value of theteamrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
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. -
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. -
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). -
team
Returns the value of theteamrecord component.- Returns:
- the value of the
teamrecord component
-
partOf
Returns the value of thepartOfrecord component.- Returns:
- the value of the
partOfrecord component
-
executor
Returns the value of theexecutorrecord component.- Specified by:
executorin interfaceRegisteredAgentic- Returns:
- the value of the
executorrecord component
-