Package com.lightbend.cinnamon.akka
Class CinnamonEventsFactory
- java.lang.Object
-
- com.lightbend.cinnamon.akka.CinnamonEventsFactory
-
- Direct Known Subclasses:
CinnamonEvents
public abstract class CinnamonEventsFactory extends java.lang.Object
Cinnamon event API for custom events.
-
-
Constructor Summary
Constructors Constructor Description CinnamonEventsFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CinnamonEvent
createErrorEvent(Descriptor descriptor)
Create an error log level event.abstract CinnamonEvent
createErrorEvent(java.lang.String name)
Create an error log level event.abstract CinnamonEvent
createInfoEvent(Descriptor descriptor)
Create an info log level event.abstract CinnamonEvent
createInfoEvent(java.lang.String name)
Create an info log level event.abstract CinnamonEvent
createWarningEvent(Descriptor descriptor)
Create an warning log level event.abstract CinnamonEvent
createWarningEvent(java.lang.String name)
Create an warning log level event.
-
-
-
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
-
-