Package com.tnsai.feedback
Interface FeedbackCollector.Factory
- Enclosing interface:
FeedbackCollector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory for creating FeedbackCollector instances.
Discovered via ServiceLoader from tnsai-intelligence.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new feedback collector for an agent.static FeedbackCollector.Factorydiscover()Discovers a Factory via ServiceLoader.
-
Method Details
-
create
Creates a new feedback collector for an agent.- Parameters:
agentId- the agent identifier- Returns:
- a new FeedbackCollector instance
-
discover
Discovers a Factory via ServiceLoader.- Returns:
- discovered factory, or null if tnsai-intelligence is not on classpath
-