Index

C D E G H I M N O Q S T V W Y 
All Classes and Interfaces|All Packages

C

contains(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns whether the given LocalDate is contained in the current ShiftedQuarter.

D

DayHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published on each day.
DAYS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
Publish daily events only.
DEFAULTS - Static variable in class org.springframework.modulith.moments.support.MomentsProperties
 

E

equals(Object) - Method in class org.springframework.modulith.moments.DayHasPassed
 
equals(Object) - Method in class org.springframework.modulith.moments.HourHasPassed
 
equals(Object) - Method in class org.springframework.modulith.moments.MonthHasPassed
 
equals(Object) - Method in class org.springframework.modulith.moments.QuarterHasPassed
 
equals(Object) - Method in class org.springframework.modulith.moments.ShiftedQuarter
 
equals(Object) - Method in class org.springframework.modulith.moments.WeekHasPassed
 
equals(Object) - Method in class org.springframework.modulith.moments.YearHasPassed
 
everyHour() - Method in class org.springframework.modulith.moments.support.Moments
Triggers event publication every hour.
everyMidnight() - Method in class org.springframework.modulith.moments.support.Moments
Triggers event publication every midnight.

G

getDate() - Method in class org.springframework.modulith.moments.DayHasPassed
The day that has just passed.
getEnd() - Method in enum class org.springframework.modulith.moments.Quarter
Returns the end MonthDay.
getEnd() - Method in class org.springframework.modulith.moments.ShiftedQuarter
 
getEndDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
Returns the date of the last day of the quarter that has just passed.
getEndDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
Returns the end date of the week that has passed.
getEndDate() - Method in class org.springframework.modulith.moments.YearHasPassed
Returns the end date of the year passed.
getEndDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns the end date of the ShiftedQuarter for the given Year.
getLocale() - Method in class org.springframework.modulith.moments.support.MomentsProperties
The Locale to use when determining week boundaries.
getLocale() - Method in class org.springframework.modulith.moments.WeekHasPassed
 
getMonth() - Method in class org.springframework.modulith.moments.MonthHasPassed
The month that has just passed.
getQuarter() - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns the logical Quarter.
getShiftedQuarter(LocalDate) - Method in class org.springframework.modulith.moments.support.MomentsProperties
Returns the ShiftedQuarter for the given reference date.
getStart() - Method in enum class org.springframework.modulith.moments.Quarter
Returns the start MonthDay.
getStart() - Method in class org.springframework.modulith.moments.ShiftedQuarter
 
getStartDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
Returns the date of the first day of the quarter that has just passed.
getStartDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
Returns the start date of the week that has passed.
getStartDate() - Method in class org.springframework.modulith.moments.YearHasPassed
Returns the start date of the year passed.
getStartDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns the start date of the ShiftedQuarter for the given Year.
getTime() - Method in class org.springframework.modulith.moments.HourHasPassed
The hour that has just passed.
getWeek() - Method in class org.springframework.modulith.moments.WeekHasPassed
The Locale to be used to calculate the start date of the week.
getYear() - Method in class org.springframework.modulith.moments.WeekHasPassed
The year of the week that has just passed.
getYear() - Method in class org.springframework.modulith.moments.YearHasPassed
The Year that has just passed.
getZoneId() - Method in class org.springframework.modulith.moments.support.MomentsProperties
The ZoneId to determine times which are attached to the events published.

H

hashCode() - Method in class org.springframework.modulith.moments.DayHasPassed
 
hashCode() - Method in class org.springframework.modulith.moments.HourHasPassed
 
hashCode() - Method in class org.springframework.modulith.moments.MonthHasPassed
 
hashCode() - Method in class org.springframework.modulith.moments.QuarterHasPassed
 
hashCode() - Method in class org.springframework.modulith.moments.ShiftedQuarter
 
hashCode() - Method in class org.springframework.modulith.moments.WeekHasPassed
 
hashCode() - Method in class org.springframework.modulith.moments.YearHasPassed
 
HourHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published on each day.
HOURS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
Publish hourly events.

I

instant() - Method in class org.springframework.modulith.moments.support.Moments
 
instant() - Method in interface org.springframework.modulith.moments.support.Now
Returns the current Instant.
isEnableTimeMachine() - Method in class org.springframework.modulith.moments.support.MomentsProperties
Whether to enable the TimeMachine.
isHourly() - Method in class org.springframework.modulith.moments.support.MomentsProperties
Returns whether to create hourly events.
isLastDay(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns whether the given LocalDate is the last day of the ShiftedQuarter.

M

moments(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
 
Moments - Class in org.springframework.modulith.moments.support
Core component to publish passage-of-time events.
Moments(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.Moments
Creates a new Moments for the given Clock, ApplicationEventPublisher and MomentsProperties.
MomentsAutoConfiguration - Class in org.springframework.modulith.moments.autoconfigure
Auto-configuration for Moments.
MomentsAutoConfiguration() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
 
MomentsProperties - Class in org.springframework.modulith.moments.support
Configuration properties for Moments.
MomentsProperties.Granularity - Enum Class in org.springframework.modulith.moments.support
The granularity of events to publish.
MonthHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published on the last day of the month.

N

next() - Method in enum class org.springframework.modulith.moments.Quarter
Returns the next logical Quarter.
next() - Method in class org.springframework.modulith.moments.ShiftedQuarter
Returns the next ShiftedQuarter.
now() - Method in class org.springframework.modulith.moments.support.Moments
 
now() - Method in interface org.springframework.modulith.moments.support.Now
Returns the current point in time.
now() - Method in class org.springframework.modulith.moments.support.TimeMachine
 
Now - Interface in org.springframework.modulith.moments.support
An abstraction of the current point in time and today.

O

of(int) - Static method in class org.springframework.modulith.moments.YearHasPassed
Creates a new YearHasPassed event for the given year.
of(LocalDate) - Static method in class org.springframework.modulith.moments.DayHasPassed
Creates a new DayHasPassed for the given LocalDate.
of(LocalDateTime) - Static method in class org.springframework.modulith.moments.HourHasPassed
Creates a new HourHasPassed for the given LocalDateTime.
of(Year) - Static method in class org.springframework.modulith.moments.YearHasPassed
Creates a new YearHasPassed for the given Year.
of(YearMonth) - Static method in class org.springframework.modulith.moments.MonthHasPassed
Creates a new MonthHasPassed for the given YearMonth.
of(Year, int) - Static method in class org.springframework.modulith.moments.WeekHasPassed
Creates a new WeekHasPassed for the given Year and week of the year.
of(Year, int, Locale) - Static method in class org.springframework.modulith.moments.WeekHasPassed
Creates a new WeekHasPassed for the given Year, week and Locale.
of(Year, Quarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
Returns a QuarterHasPassed for the given Year and logical Quarter.
of(Year, Quarter, Month) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
Returns a QuarterHasPassed for the given Year, logical Quarter and start Month.
of(Year, ShiftedQuarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
Returns a QuarterHasPassed for the given Year and ShiftedQuarter.
of(Quarter) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
 
of(Quarter, Month) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
Creates a new ShiftedQuarter for the given Quarter and start Month.
org.springframework.modulith.moments - module org.springframework.modulith.moments
 
org.springframework.modulith.moments - package org.springframework.modulith.moments
An Passage-of-Time events implementation.
org.springframework.modulith.moments.autoconfigure - package org.springframework.modulith.moments.autoconfigure
Autoconfiguration for the Moments API.
org.springframework.modulith.moments.support - package org.springframework.modulith.moments.support
The Moments abstraction to integrate with Spring Framework's scheduling.

Q

Q1 - Enum constant in enum class org.springframework.modulith.moments.Quarter
 
Q2 - Enum constant in enum class org.springframework.modulith.moments.Quarter
 
Q3 - Enum constant in enum class org.springframework.modulith.moments.Quarter
 
Q4 - Enum constant in enum class org.springframework.modulith.moments.Quarter
 
Quarter - Enum Class in org.springframework.modulith.moments
A logical Quarter of the year.
QuarterHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published once a quarter has passed.

S

shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.Moments
 
shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.TimeMachine
 
ShiftedQuarter - Class in org.springframework.modulith.moments
A quarter that can be shifted to start at a configurable Month.

T

timeMachine(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
 
TimeMachine - Class in org.springframework.modulith.moments.support
Extension of Moments to publicly expose methods to shift time.
TimeMachine(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.TimeMachine
today() - Method in class org.springframework.modulith.moments.support.Moments
 
today() - Method in interface org.springframework.modulith.moments.support.Now
Returns the current date.

V

valueOf(String) - Static method in enum class org.springframework.modulith.moments.Quarter
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.modulith.moments.Quarter
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
Returns an array containing the constants of this enum class, in the order they are declared.

W

WeekHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published if a week has passed.
WeekHasPassed(Year, int, Locale) - Constructor for class org.springframework.modulith.moments.WeekHasPassed
Creates a new WeekHasPassed for the given Year, week and Locale.
withGranularity(MomentsProperties.Granularity) - Method in class org.springframework.modulith.moments.support.MomentsProperties
 
withLocale(Locale) - Method in class org.springframework.modulith.moments.support.MomentsProperties
 
withZoneId(ZoneId) - Method in class org.springframework.modulith.moments.support.MomentsProperties
 

Y

YearHasPassed - Class in org.springframework.modulith.moments
A DomainEvent published on the last day of the year.
C D E G H I M N O Q S T V W Y 
All Classes and Interfaces|All Packages