Class ColossusLoggingAgenticEventListener

  • All Implemented Interfaces:
    com.embabel.agent.api.event.AgenticEventListener , com.embabel.agent.spi.logging.LoggingPersonality

    @Service()@ConditionalOnProperty(name = {"embabel.agent.logging.personality"}, havingValue = "colossus") 
    public final class ColossusLoggingAgenticEventListener
    extends LoggingAgenticEventListener
                        

    Colossus-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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.embabel.agent.spi.logging.LoggingAgenticEventListener

        getColorPalette, getLogger, onPlatformEvent, onProcessEvent, toInfoString
      • Methods inherited from class com.embabel.agent.spi.logging.LoggingPersonality

        lineSeparator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ColossusLoggingAgenticEventListener

        ColossusLoggingAgenticEventListener()
    • Method Detail