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.accounting.model.JobEvent

    JobEvent.Builder, JobEvent.Type
  • Field Summary

    Fields inherited from interface it.tidalwave.role.Identifiable

    _Identifiable_
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the datetime of this event.
    Returns the description of this event.
    Returns the duration of this event.
    Returns the earnings of this event.
    Returns the name of this event.

    Methods inherited from interface it.tidalwave.util.As

    as, as, asMany, asMany, maybeAs, maybeAs

    Methods inherited from interface it.tidalwave.role.Identifiable

    getId

    Methods inherited from interface it.tidalwave.accounting.model.JobEvent

    toBuilder
  • Method Details

    • getName

      @Nonnull String getName()
      Returns the name of this event.
      Returns:
      the name
    • getDescription

      @Nonnull String getDescription()
      Returns the description of this event.
      Returns:
      the description
    • getDuration

      @Nonnull 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 LocalDateTime getDateTime()
      Returns the datetime of this event.
      Returns:
      the datetime