Uses of Record Class
com.tnsai.coordination.groups.team.TeamResult
Packages that use TeamResult
Package
Description
Team-based coordination with mission tracking and role assignments.
-
Uses of TeamResult in com.tnsai.coordination.groups.team
Methods in com.tnsai.coordination.groups.team that return TeamResultModifier and TypeMethodDescriptionExecutes a task using the team's formation pattern.Executes a task with custom context.static TeamResultTeamResult.failure(String taskId, String error, Map<String, TeamResult.MemberOutput> memberOutputs, TeamFormation formation, Instant startedAt) Creates a failed result.MissionTracker.MissionEvent.result()Returns the value of theresultrecord component.MissionTracker.TaskRecord.result()Returns the value of theresultrecord component.static TeamResultTeamResult.success(String taskId, String output, Map<String, TeamResult.MemberOutput> memberOutputs, TeamFormation formation, Instant startedAt) Creates a successful result.Methods in com.tnsai.coordination.groups.team that return types with arguments of type TeamResultModifier and TypeMethodDescriptionDefaultTeam.executeAsync(String task) DefaultTeam.executeAsync(String task, Map<String, Object> context) Team.executeAsync(String task) Executes a task asynchronously.Team.executeAsync(String task, Map<String, Object> context) Executes a task asynchronously with context.Methods in com.tnsai.coordination.groups.team with parameters of type TeamResultModifier and TypeMethodDescriptionstatic MissionTracker.MissionEventMissionTracker.MissionEvent.taskCompleted(String teamId, String taskId, TeamResult result) voidMissionTracker.taskCompleted(String taskId, TeamResult result) Records a task completing.Constructors in com.tnsai.coordination.groups.team with parameters of type TeamResultModifierConstructorDescriptionMissionEvent(String teamId, MissionTracker.MissionEventType type, String taskId, String description, boolean success, TeamResult result, Instant timestamp) Creates an instance of aMissionEventrecord class.TaskRecord(String taskId, String description, MissionTracker.TaskStatus status, Instant startedAt, Instant completedAt, TeamResult result) Creates an instance of aTaskRecordrecord class.