Interface JobEventSpi
-
- All Superinterfaces:
it.tidalwave.util.As,it.tidalwave.role.Identifiable,JobEvent
- All Known Subinterfaces:
FlatJobEventSpi,JobEventGroupSpi,TimedJobEventSpi
public interface JobEventSpi extends JobEvent
- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
it.tidalwave.util.As.Defaults, it.tidalwave.util.As.NotFoundBehaviour<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.JobEvent
JobEvent.Builder, JobEvent.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.LocalDateTimegetDateTime()Returns the datetime of this event.java.lang.StringgetDescription()Returns the description of this event.java.time.DurationgetDuration()Returns the duration of this event.MoneygetEarnings()Returns the earnings of this event.java.lang.StringgetName()Returns the name of this event.
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
Returns the name of this event.- Returns:
- the name
-
getDescription
@Nonnull java.lang.String getDescription()
Returns the description of this event.- Returns:
- the description
-
getDuration
@Nonnull java.time.Duration getDuration()
Returns the duration of this event.- Returns:
- the duration
-
getEarnings
@Nonnull Money getEarnings()
Returns the earnings of this event.- Returns:
- the earnings
-
getDateTime
@Nonnull java.time.LocalDateTime getDateTime()
Returns the datetime of this event.- Returns:
- the datetime
-
-