Package com.tnsai.agents.groups
Interface GroupLifecycleListener
public interface GroupLifecycleListener
Listener for group lifecycle events.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonGroupDissolved(String groupId) Called when group dissolves.default voidonGroupStarted(String groupId) Called when group starts.default voidonGroupStopped(String groupId) Called when group stops.voidonLifecycleChanged(String groupId, GroupLifecycle oldState, GroupLifecycle newState) Called when group lifecycle state changes.
-
Method Details
-
onLifecycleChanged
Called when group lifecycle state changes.- Parameters:
groupId- group IDoldState- old statenewState- new state
-
onGroupStarted
Called when group starts.- Parameters:
groupId- group ID
-
onGroupStopped
Called when group stops.- Parameters:
groupId- group ID
-
onGroupDissolved
Called when group dissolves.- Parameters:
groupId- group ID
-