Class ColossusLoggingAgenticEventListener
-
- All Implemented Interfaces:
-
com.embabel.agent.event.AgenticEventListener,com.embabel.agent.event.logging.LoggingPersonality
@Service()@Profile(value = {"colossus"}) public final class ColossusLoggingAgenticEventListener extends LoggingAgenticEventListenerColossus-themed event listener for agent events.
This class implements a logging event listener with a personality based on the Colossus supercomputer from the 1970 science fiction film "Colossus: The Forbin Project" (referenced by the IMDB URL in the constructor).
The listener is activated only when the "colossus" profile is active, and it provides themed logging messages for various agent events with a somewhat menacing, superior tone that mimics the Colossus AI from the film.
The welcome message displays ASCII art of the "COLOSSUS" name and a statement about machine superiority, styled with the Colossus color palette.
-
-
Field Summary
Fields Modifier and Type Field Description private final Loggerloggerprivate final ColorPalettecolorPaletteprivate final IntegerbannerWidth
-
Constructor Summary
Constructors Constructor Description ColossusLoggingAgenticEventListener()
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class com.embabel.agent.event.logging.LoggingAgenticEventListener
getColorPalette, getLogger, onPlatformEvent, onProcessEvent, toInfoString -
Methods inherited from class com.embabel.agent.event.logging.LoggingPersonality
getBannerWidth, lineSeparator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-