Interface TimedJobEventSpi
-
- All Superinterfaces:
it.tidalwave.util.As
,it.tidalwave.role.Identifiable
,JobEvent
,JobEventSpi
public interface TimedJobEventSpi extends JobEventSpi
- 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.Duration
getDuration()
Returns the duration of this event.java.time.LocalDateTime
getEndDateTime()
Money
getHourlyRate()
java.time.LocalDateTime
getStartDateTime()
-
Methods inherited from interface it.tidalwave.accounting.model.spi.JobEventSpi
getDateTime, getDescription, getEarnings, getName
-
-
-
-
Method Detail
-
getStartDateTime
@Nonnull java.time.LocalDateTime getStartDateTime()
-
getEndDateTime
@Nonnull java.time.LocalDateTime getEndDateTime()
-
getDuration
@Nonnull java.time.Duration getDuration()
Description copied from interface:JobEventSpi
Returns the duration of this event.- Specified by:
getDuration
in interfaceJobEventSpi
- Returns:
- the duration
-
getHourlyRate
@Nonnull Money getHourlyRate()
-
-