Interface AiServiceCompletedListener
- All Superinterfaces:
AiServiceListener<AiServiceCompletedEvent>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface AiServiceCompletedListener
extends AiServiceListener<AiServiceCompletedEvent>
A listener for
AiServiceCompletedEvent, which represents an event
that occurs upon the completion of an AI Service invocation.
This interface extends the generic AiServiceListener interface,
allowing it to specifically listen for completion events.-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<AiServiceCompletedEvent> Retrieves the class object representing the type ofAiServiceEventthat this listener listens for.Methods inherited from interface AiServiceListener
onEvent
-
Method Details
-
getEventClass
Description copied from interface:AiServiceListenerRetrieves the class object representing the type ofAiServiceEventthat this listener listens for.- Specified by:
getEventClassin interfaceAiServiceListener<AiServiceCompletedEvent>- Returns:
- the
Classobject of the event type that this listener is associated with
-