Uses of Enum Class
com.tnsai.coordination.groups.team.TeamRole
Packages that use TeamRole
Package
Description
Team-based coordination with mission tracking and role assignments.
-
Uses of TeamRole in com.tnsai.coordination.groups.team
Methods in com.tnsai.coordination.groups.team that return TeamRoleModifier and TypeMethodDescriptionTeamResult.MemberOutput.role()Returns the value of therolerecord component.static TeamRoleReturns the enum constant of this class with the specified name.static TeamRole[]TeamRole.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.coordination.groups.team that return types with arguments of type TeamRoleModifier and TypeMethodDescriptionGets the role of a team member.Methods in com.tnsai.coordination.groups.team with parameters of type TeamRoleModifier and TypeMethodDescriptionvoidDefaultTeam.assignRole(String agentId, TeamRole role) voidTeam.assignRole(String agentId, TeamRole role) Assigns a role to a team member.static TeamResult.MemberOutputCreates a failed output.List<com.tnsai.agents.Agent> DefaultTeam.getMembersWithRole(TeamRole role) List<com.tnsai.agents.Agent> Team.getMembersWithRole(TeamRole role) Gets all members with a specific role.Adds a member with a specific role.static TeamResult.MemberOutputCreates a successful output.Constructors in com.tnsai.coordination.groups.team with parameters of type TeamRoleModifierConstructorDescriptionMemberOutput(String agentId, TeamRole role, String output, boolean success, long durationMs, String error) Creates an instance of aMemberOutputrecord class.Constructor parameters in com.tnsai.coordination.groups.team with type arguments of type TeamRoleModifierConstructorDescriptionDefaultTeam(String id, String name, String description, String mission, Duration timeout, TeamFormation formation, com.tnsai.agents.groups.GroupPolicy policy, Map<String, TeamRole> initialRoles) Creates a new DefaultTeam.