Index
All Classes and Interfaces|All Packages
C
- contains(LocalDate) - Method in class org.moduliths.moments.ShiftedQuarter
-
Returns whether the given
LocalDateis contained in the currentShiftedQuarter.
D
- DayHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished on each day. - DayHasPassed() - Constructor for class org.moduliths.moments.DayHasPassed
- DAYS - Enum constant in enum org.moduliths.moments.support.MomentsProperties.Granularity
- DEFAULTS - Static variable in class org.moduliths.moments.support.MomentsProperties
E
- emitEventsFor(LocalDate) - Method in class org.moduliths.moments.support.Moments
- emitEventsFor(LocalDateTime) - Method in class org.moduliths.moments.support.Moments
- everyHour() - Method in class org.moduliths.moments.support.Moments
-
Triggers event publication every hour.
- everyMidnight() - Method in class org.moduliths.moments.support.Moments
-
Triggers event publication every midnight.
G
- getEnd() - Method in class org.moduliths.moments.ShiftedQuarter
- getEndDate() - Method in class org.moduliths.moments.QuarterHasPassed
-
Returns the date of the last day of the quarter that has just passed.
- getEndDate() - Method in class org.moduliths.moments.WeekHasPassed
-
Returns the end date of the week that has passed.
- getEndDate() - Method in class org.moduliths.moments.YearHasPassed
-
Returns the end date of the year passed.
- getEndDate(Year) - Method in class org.moduliths.moments.ShiftedQuarter
-
Returns the end date of the
ShiftedQuarterfor the givenYear. - getShiftedQuarter(LocalDate) - Method in class org.moduliths.moments.support.MomentsProperties
-
Returns the
ShiftedQuarterfor the given reference date. - getStart() - Method in class org.moduliths.moments.ShiftedQuarter
- getStartDate() - Method in class org.moduliths.moments.QuarterHasPassed
-
Returns the date of the first day of the quarter that has just passed.
- getStartDate() - Method in class org.moduliths.moments.WeekHasPassed
-
Returns the start date of the week that has passed.
- getStartDate() - Method in class org.moduliths.moments.YearHasPassed
-
Returns the start date of the year passed.
- getStartDate(Year) - Method in class org.moduliths.moments.ShiftedQuarter
-
Returns the start date of the
ShiftedQuarterfor the givenYear.
H
- HourHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished on each day. - HourHasPassed() - Constructor for class org.moduliths.moments.HourHasPassed
- HOURS - Enum constant in enum org.moduliths.moments.support.MomentsProperties.Granularity
I
- isHourly() - Method in class org.moduliths.moments.support.MomentsProperties
-
Returns whether to create hourly events.
- isLastDay(LocalDate) - Method in class org.moduliths.moments.ShiftedQuarter
M
- moments(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
- Moments - Class in org.moduliths.moments.support
- Moments() - Constructor for class org.moduliths.moments.support.Moments
- MomentsAutoConfiguration - Class in org.moduliths.moments.autoconfigure
-
Auto-configuration for
Moments. - MomentsAutoConfiguration() - Constructor for class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
- MomentsProperties - Class in org.moduliths.moments.support
-
Configuration properties for
Moments. - MomentsProperties.Granularity - Enum in org.moduliths.moments.support
- MonthHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished on the last day of the month. - MonthHasPassed() - Constructor for class org.moduliths.moments.MonthHasPassed
N
- next() - Method in enum org.moduliths.moments.Quarter
-
Returns the next logical
Quarter. - next() - Method in class org.moduliths.moments.ShiftedQuarter
-
Returns the next
ShiftedQuarter. - now() - Method in class org.moduliths.moments.support.Moments
- now() - Method in class org.moduliths.moments.support.TimeMachine
O
- of(int) - Static method in class org.moduliths.moments.YearHasPassed
-
Creates a new
YearHasPassedevent for the given year. - of(Year, int) - Static method in class org.moduliths.moments.WeekHasPassed
-
Creates a new
WeekHasPassedfor the givenYearand week of the year. - of(Year, Quarter) - Static method in class org.moduliths.moments.QuarterHasPassed
- of(Year, Quarter, Month) - Static method in class org.moduliths.moments.QuarterHasPassed
- of(Quarter) - Static method in class org.moduliths.moments.ShiftedQuarter
- org.moduliths.moments - package org.moduliths.moments
- org.moduliths.moments.autoconfigure - package org.moduliths.moments.autoconfigure
- org.moduliths.moments.support - package org.moduliths.moments.support
Q
- Q1 - Enum constant in enum org.moduliths.moments.Quarter
- Q2 - Enum constant in enum org.moduliths.moments.Quarter
- Q3 - Enum constant in enum org.moduliths.moments.Quarter
- Q4 - Enum constant in enum org.moduliths.moments.Quarter
- Quarter - Enum in org.moduliths.moments
-
A logical
Quarterof the year. - QuarterHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished once a quarter has passed. - QuarterHasPassed() - Constructor for class org.moduliths.moments.QuarterHasPassed
S
- shiftBy(Duration) - Method in class org.moduliths.moments.support.Moments
- shiftBy(Duration) - Method in class org.moduliths.moments.support.TimeMachine
- ShiftedQuarter - Class in org.moduliths.moments
-
A quarter that can be shifted to start at a configurable
Month. - ShiftedQuarter() - Constructor for class org.moduliths.moments.ShiftedQuarter
T
- timeMachine(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
- TimeMachine - Class in org.moduliths.moments.support
-
Extension of
Momentsto publicly expose methods to shift time. - TimeMachine(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.moduliths.moments.support.TimeMachine
V
- valueOf(String) - Static method in enum org.moduliths.moments.Quarter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.moduliths.moments.support.MomentsProperties.Granularity
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.moduliths.moments.Quarter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.moduliths.moments.support.MomentsProperties.Granularity
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WeekHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished if a week has passed. - WeekHasPassed() - Constructor for class org.moduliths.moments.WeekHasPassed
Y
- YearHasPassed - Class in org.moduliths.moments
-
A
DomainEventpublished on the last day of the year. - YearHasPassed() - Constructor for class org.moduliths.moments.YearHasPassed
All Classes and Interfaces|All Packages