Class CinnamonEventsFactory

  • Direct Known Subclasses:
    CinnamonEvents

    public abstract class CinnamonEventsFactory
    extends java.lang.Object
    Cinnamon event API for custom events.
    • Constructor Detail

      • CinnamonEventsFactory

        public CinnamonEventsFactory()
    • Method Detail

      • createErrorEvent

        public abstract CinnamonEvent createErrorEvent​(java.lang.String name)
        Create an error log level event.

        Parameters:
        name - the name of the event
        Returns:
        CinnamonEvent scoped to the error log level
      • createErrorEvent

        public abstract CinnamonEvent createErrorEvent​(Descriptor descriptor)
        Create an error log level event.

        Parameters:
        descriptor - the descriptor for the CinnamonEvent
        Returns:
        CinnamonEvent scoped to the error log level
      • createInfoEvent

        public abstract CinnamonEvent createInfoEvent​(java.lang.String name)
        Create an info log level event.

        Parameters:
        name - the name of the event
        Returns:
        CinnamonEvent scoped to the info log level
      • createInfoEvent

        public abstract CinnamonEvent createInfoEvent​(Descriptor descriptor)
        Create an info log level event.

        Parameters:
        descriptor - the descriptor for the CinnamonEvent
        Returns:
        CinnamonEvent scoped to the info log level
      • createWarningEvent

        public abstract CinnamonEvent createWarningEvent​(java.lang.String name)
        Create an warning log level event.

        Parameters:
        name - the name of the event
        Returns:
        CinnamonEvent scoped to the warning log level
      • createWarningEvent

        public abstract CinnamonEvent createWarningEvent​(Descriptor descriptor)
        Create an warning log level event.

        Parameters:
        descriptor - the descriptor for the CinnamonEvent
        Returns:
        CinnamonEvent scoped to the warning log level